File tree Expand file tree Collapse file tree 2 files changed +18
-23
lines changed Expand file tree Collapse file tree 2 files changed +18
-23
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,18 @@ name: run-tests
33on :
44 push :
55 paths :
6- - ' **.php'
7- - ' .github/workflows/run-tests.yml'
8- - ' phpunit.xml.dist'
9- - ' composer.json'
10- - ' composer.lock'
11-
12- concurrency :
13- group : ${{ github.workflow }}-${{ github.ref }}
14- cancel-in-progress : true
6+ - " **.php"
7+ - " .github/workflows/run-tests.yml"
8+ - " phpunit.xml.dist"
9+ - " composer.json"
10+ - " composer.lock"
11+ pull_request :
12+ paths :
13+ - " **.php"
14+ - " .github/workflows/run-tests.yml"
15+ - " phpunit.xml.dist"
16+ - " composer.json"
17+ - " composer.lock"
1518
1619jobs :
1720 test :
2225 matrix :
2326 os : [ubuntu-latest, windows-latest]
2427 php : [8.4, 8.3]
25- laravel : [12.*, 11.*, 10.*]
26- stability : [prefer-lowest, prefer-stable]
27- include :
28- - laravel : 12.*
29- testbench : 10.*
30- - laravel : 11.*
31- testbench : 9.*
32- - laravel : 10.*
33- testbench : 8.*
34-
28+ laravel : [11.*, 12.*]
29+ stability : [prefer-stable]
3530
3631 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3732
5348
5449 - name : Install dependencies
5550 run : |
56- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+ composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
5752 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5853
5954 - name : List Installed Dependencies
Original file line number Diff line number Diff line change 2222 },
2323 "require-dev" : {
2424 "laravel/pint" : " ^1.14" ,
25- "nunomaduro/collision" : " ^8.1.1||^7.10.0 " ,
26- "larastan/larastan" : " ^2.9||^ 3.0" ,
27- "orchestra/testbench" : " ^10.0.0||^ 9.0.0||^8.22 .0" ,
25+ "nunomaduro/collision" : " ^8.1.1" ,
26+ "larastan/larastan" : " ^3.0" ,
27+ "orchestra/testbench" : " ^9.0.0||^10.0 .0" ,
2828 "pestphp/pest" : " ^3.0" ,
2929 "pestphp/pest-plugin-arch" : " ^3.0" ,
3030 "pestphp/pest-plugin-laravel" : " ^3.0" ,
You can’t perform that action at this time.
0 commit comments