File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 99 matrix :
1010 os : [ubuntu-latest, macos-latest]
1111 php : ['8.1', '8.2', '8.3']
12+ pest : ['2.14', '3.0']
1213 dependency-version : [prefer-lowest, prefer-stable]
14+ exclude :
15+ - php : ' 8.1'
16+ pest : ' 3.0'
1317
14- name : PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
18+ name : PHP ${{ matrix.php }} - PEST ^${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
1519
1620 steps :
1721 - name : Checkout
2529 coverage : xdebug
2630
2731 - name : Install PHP dependencies
28- run : composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
32+ run : |
33+ composer require "pestphp/pest:^${{ matrix.pest }}" --no-interaction --no-update
34+ composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
2935
3036 - name : Unit Tests
3137 run : composer test:unit -- --coverage-clover ./coverage.xml
Original file line number Diff line number Diff line change 3434 },
3535 "require" : {
3636 "php" : " ^8.1" ,
37- "pestphp/pest" : " ^2.14"
37+ "pestphp/pest" : " ^2.14 || ^3.0 "
3838 },
3939 "require-dev" : {
4040 "phpstan/phpstan" : " ^1.11.0" ,
You can’t perform that action at this time.
0 commit comments