diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3c45e81e1..a842886d3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -51,14 +51,16 @@ jobs: runs-on: ${{ matrix.os }} env: - phpunit-version: 5.7.27 - mockery-version: 0.9.9 # *Any* other version is not compatible with PHP 5.6 and anything above phpunit 6 + phpunit-version: 9.5.4 strategy: fail-fast: false matrix: - php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] + php: ['7.2', '7.3', '7.4', '8.0'] os: ['ubuntu-latest'] + include: + - php: '7.2' + phpunit-version: 8.5.15 services: mysql: @@ -98,13 +100,13 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - tools: phpunit:${{ env.phpunit-version }} + tools: phpunit:${{ matrix.phpunit-version || env.phpunit-version }} extensions: mysql, pgsql, ldap - name: Setup dependencies run: | sudo locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8 - composer require -n --no-progress mockery/mockery:${{ env.mockery-version }} + composer require -n --no-progress mockery/mockery - name: PHPUnit env: