File tree Expand file tree Collapse file tree 2 files changed +24
-16
lines changed
Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,26 @@ permissions:
1212 contents : write
1313
1414jobs :
15- tests :
15+ test :
1616 runs-on : ${{ matrix.os }}
17+
1718 strategy :
1819 fail-fast : true
1920 matrix :
20- os : [ ubuntu-latest, windows-latest ]
21- php : [ 8.1, 8.2, 8.3 ]
22- stability : [ prefer-lowest, prefer-stable ]
23-
24- name : P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
21+ os : [ubuntu-latest, windows-latest]
22+ php : [8.1, 8.2, 8.3]
23+ laravel : ['10.*', '11.*']
24+ stability : [prefer-lowest, prefer-stable]
25+ include :
26+ - laravel : 10.*
27+ testbench : 8.*
28+ - laravel : 11.*
29+ testbench : 9.*
30+ exclude :
31+ - laravel : 11.*
32+ php : 8.1
33+
34+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2535
2636 steps :
2737 - name : Checkout code
@@ -34,18 +44,16 @@ jobs:
3444 extensions : mbstring, zip, fileinfo
3545 coverage : none
3646
37- - name : Install Node Dependencies
38- run : |
39- npm install
40-
4147 - name : Setup problem matchers
4248 run : |
4349 echo "::add-matcher::${{ runner.tool_cache }}/php.json"
4450 echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4551
4652 - name : Install dependencies
4753 run : |
54+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4855 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
56+ npm install
4957
5058 - name : Execute tests
5159 run : ./vendor/bin/pest
Original file line number Diff line number Diff line change 1414 "php" : " ^8.1" ,
1515 "ext-json" : " *" ,
1616 "ext-zip" : " *" ,
17- "illuminate/console" : " ^9 .0 || ^10 .0" ,
18- "illuminate/filesystem" : " ^9 .0 || ^10 .0" ,
19- "illuminate/support" : " ^9 .0 || ^10 .0" ,
20- "symfony/finder" : " ^6.0" ,
21- "symfony/process" : " ^6.0" ,
17+ "illuminate/console" : " ^10 .0 || ^11 .0" ,
18+ "illuminate/filesystem" : " ^10 .0 || ^11 .0" ,
19+ "illuminate/support" : " ^10 .0 || ^11 .0" ,
20+ "symfony/finder" : " ^6.0 || ^7.0 " ,
21+ "symfony/process" : " ^6.0 || ^7.0 " ,
2222 "league/flysystem" : " ^3.0"
2323 },
2424 "require-dev" : {
25- "orchestra/testbench" : " ^7 .0 || ^8 .0" ,
25+ "orchestra/testbench" : " ^8 .0 || ^9 .0" ,
2626 "friendsofphp/php-cs-fixer" : " ^3.1.0" ,
2727 "spatie/ray" : " ^1.33" ,
2828 "pestphp/pest" : " ^2.25" ,
You can’t perform that action at this time.
0 commit comments