php: Don't test on PHP 5.6 through 7.1

This commit is contained in:
Johannes Meyer 2021-04-08 16:49:17 +02:00
parent eff10ec613
commit 19a092c13f
1 changed files with 7 additions and 5 deletions

View File

@ -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: