From 19a092c13fd80667c72b83c32c2f1d5b80e6cb16 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 8 Apr 2021 16:49:17 +0200 Subject: [PATCH] php: Don't test on PHP 5.6 through 7.1 --- .github/workflows/php.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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: