php: Don't test on PHP 5.6 through 7.1
This commit is contained in:
parent
eff10ec613
commit
19a092c13f
|
@ -51,14 +51,16 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
phpunit-version: 5.7.27
|
phpunit-version: 9.5.4
|
||||||
mockery-version: 0.9.9 # *Any* other version is not compatible with PHP 5.6 and anything above phpunit 6
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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']
|
os: ['ubuntu-latest']
|
||||||
|
include:
|
||||||
|
- php: '7.2'
|
||||||
|
phpunit-version: 8.5.15
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
|
@ -98,13 +100,13 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
tools: phpunit:${{ env.phpunit-version }}
|
tools: phpunit:${{ matrix.phpunit-version || env.phpunit-version }}
|
||||||
extensions: mysql, pgsql, ldap
|
extensions: mysql, pgsql, ldap
|
||||||
|
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8
|
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
|
- name: PHPUnit
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue