File tree Expand file tree Collapse file tree 2 files changed +19
-23
lines changed
Expand file tree Collapse file tree 2 files changed +19
-23
lines changed Original file line number Diff line number Diff line change 11name : run-tests
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ types : [opened, synchronize, reopened]
48
59jobs :
610 test :
711 strategy :
8- fail-fast : true
12+ fail-fast : false
913 matrix :
10- php : [8.0, 8.1, 8.2 ]
11- laravel : [^8.80, 9.*, 10.* ]
14+ php : ['8.1', '8.2', '8.3' ]
15+ laravel : ['9.0', '10.0', '11.0' ]
1216 dependency-version : [prefer-lowest, prefer-stable]
13- include :
14- - laravel : 10.*
15- testbench : 8.*
16- - laravel : 9.*
17- testbench : 7.*
18- - laravel : ^8.80
19- testbench : 6.23
2017 exclude :
21- - laravel : 10.*
22- php : 8.0
23- - laravel : ^8.80
24- php : 8.2
18+ - laravel : ' 11.0'
19+ php : ' 8.1'
2520
2621 runs-on : ubuntu-latest
2722 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2823 steps :
2924 - name : Checkout code
30- uses : actions/checkout@v2
25+ uses : actions/checkout@v4
3126
3227 - name : Setup PHP
3328 uses : shivammathur/setup-php@v2
3732
3833 - name : Install dependencies
3934 run : |
40- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
41- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
35+ composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
36+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction
37+
4238 - name : Execute tests
4339 run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1717 ],
1818 "require" : {
1919 "ext-mbstring" : " *" ,
20- "php" : " ^8.0|^8.1|^8.2 " ,
21- "illuminate/contracts" : " ^8.80|^9 .0|^10 .0"
20+ "php" : " ^8.1 " ,
21+ "illuminate/contracts" : " ^9.0|^10 .0|^11 .0"
2222 },
2323 "require-dev" : {
24- "nunomaduro/collision" : " ^5 .0|^6 .0|^7.0 " ,
25- "orchestra/testbench" : " ^6 .0|^7 .0|^8 .0" ,
24+ "nunomaduro/collision" : " ^6 .0|^7 .0|^8.1 " ,
25+ "orchestra/testbench" : " ^7 .0|^8 .0|^9 .0" ,
2626 "phpunit/phpunit" : " ^9.5|^10.0" ,
27- "spatie/phpunit-snapshot-assertions" : " ^4.2"
27+ "spatie/phpunit-snapshot-assertions" : " ^4.2|^5.0 "
2828 },
2929 "autoload" : {
3030 "psr-4" : {
You can’t perform that action at this time.
0 commit comments