Skip to content

Try to add backward compatibility with PHP 7.2, 7.3, 7.4 (#18) #32

Try to add backward compatibility with PHP 7.2, 7.3, 7.4 (#18)

Try to add backward compatibility with PHP 7.2, 7.3, 7.4 (#18) #32

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
run:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
php:
- 7.3
- 7.4
- 8.1
- 8.2
- 8.3
- 8.4
experimental: [false]
include:
- php: '7.2'
experimental: true
name: PHP ${{ matrix.php }} test
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: phpunit:9.6
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --dev
- run: composer check
- run: phpunit
env:
DATABOX_LOGIN: ${{ secrets.DATABOX_LOGIN }}
DATABOX_PASSWORD: ${{ secrets.DATABOX_PASSWORD }}
DATABOX_PRODUCTION: ${{ vars.DATABOX_PRODUCTION }}