File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,33 @@ name: run-tests
22
33on :
44 push :
5- branches : [master ]
5+ branches : [v7, v8 ]
66 pull_request :
7- branches : [master ]
7+ branches : [v7, v8 ]
88
99jobs :
1010 test :
11- runs-on : ${{ matrix.os }}
11+ runs-on : ubuntu-latest
1212 strategy :
1313 fail-fast : true
1414 matrix :
15- os : [ubuntu-latest, windows-latest]
16- php : [8.0, 8.1]
17- laravel : [8.*, 9.*]
18- stability : [prefer-lowest, prefer-stable]
15+ php : [8.1, 8.2, 8.3]
16+ laravel : [8.*, 9.*, 10.*, 11.*]
1917 include :
2018 - laravel : 8.*
2119 testbench : ^6.23
2220 - laravel : 9.*
2321 testbench : 7.*
22+ - laravel : 10.*
23+ testbench : 8.*
24+ - laravel : 11.*
25+ testbench : 9.*
26+ exclude :
27+ - laravel : 11.*
28+ php : 8.1
29+
30+ name : P${{ matrix.php }} - L${{ matrix.laravel }}
2431
25- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2632
2733 steps :
2834 - name : Checkout code
4248 - name : Install dependencies
4349 run : |
4450 composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
45- composer update --${{ matrix.stability }} --prefer-dist --no-interaction
51+ composer update --prefer-stable --prefer-dist --no-interaction
4652 - name : Execute tests
4753 run : vendor/bin/pest --testsuite Unit
Original file line number Diff line number Diff line change 1717 "require" : {
1818 "php" : " ^8.0" ,
1919 "elasticsearch/elasticsearch" : " ^7.13" ,
20- "ensi/laravel-elastic-query" : " ^7.0" ,
21- "illuminate/contracts" : " ^8.37 || ^9.0 || ^10.0" ,
22- "illuminate/support" : " ^8.0 || ^9.0 || ^10.0" ,
20+ "ensi/laravel-elastic-query" : " ^7.0.21 " ,
21+ "illuminate/contracts" : " ^8.37 || ^9.0 || ^10.0 || ^11.0 " ,
22+ "illuminate/support" : " ^8.0 || ^9.0 || ^10.0 || ^11.0 " ,
2323 "spatie/laravel-package-tools" : " ^1.4.3" ,
2424 "webmozart/assert" : " ^1.11"
2525 },
2626 "require-dev" : {
2727 "friendsofphp/php-cs-fixer" : " ^3.2" ,
2828 "mockery/mockery" : " ^1.4" ,
29- "orchestra/testbench" : " ^6.15 || ^7.0 || ^8.0" ,
29+ "orchestra/testbench" : " ^6.23 || ^7.0 || ^8.0 || ^9 .0" ,
3030 "pestphp/pest" : " ^1.18 || ^2.0" ,
3131 "pestphp/pest-plugin-laravel" : " ^1.1 || ^2.0" ,
3232 "php-parallel-lint/php-var-dump-check" : " ^0.5.0" ,
You can’t perform that action at this time.
0 commit comments