1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
15- php : ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
15+ php : ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ]
1616
1717 steps :
1818 - name : Checkout code
2727
2828 - name : Install dependencies
2929 run : composer update --prefer-dist --no-interaction --no-progress
30+ env :
31+ # PHPUnit 7.5 is the last version supporting PHP 7.1, it has a security advisory that blocks installation
32+ COMPOSER_NO_BLOCKING : ${{ matrix.php == '7.1' && '1' || '' }}
3033
3134 - name : Execute tests
3235 run : composer test
3639 runs-on : ubuntu-latest
3740 strategy :
3841 matrix :
39- php : ['7.1', '7.4', '8.0', '8.5']
42+ php : ['7.1', '7.4', '8.0', '8.5', '8.6' ]
4043
4144 steps :
4245 - name : Checkout code
5053 coverage : none
5154
5255 - name : Install dependencies
53- run : |
54- composer require "sebastian/comparator:^3.0.2" --no-interaction --no-update
55- composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
56+ run : composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
57+ env :
58+ # PHPUnit 7.5 is the last version supporting PHP 7.1, it has a security advisory that blocks installation
59+ COMPOSER_NO_BLOCKING : ${{ matrix.php == '7.1' && '1' || '' }}
5660
5761 - name : Execute tests
5862 run : composer test
@@ -68,14 +72,12 @@ jobs:
6872 - name : Setup PHP
6973 uses : shivammathur/setup-php@v2
7074 with :
71- php-version : ' 7.4 '
75+ php-version : ' 8.5 '
7276 tools : composer:v2
7377 coverage : xdebug
7478
7579 - name : Install dependencies
76- run : |
77- composer require "friends-of-phpspec/phpspec-code-coverage:^4.3.2" --no-interaction --no-update
78- composer update --prefer-dist --no-interaction --no-progress
80+ run : composer update --prefer-dist --no-interaction --no-progress
7981
8082 - name : Execute tests
8183 run : composer test-ci
0 commit comments