File tree 2 files changed +15
-6
lines changed 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : run-tests
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ - push
5
+ - pull_request
4
6
5
7
jobs :
6
8
test :
7
9
runs-on : ${{ matrix.os }}
10
+
8
11
strategy :
9
12
fail-fast : false
10
13
matrix :
11
14
os : [ubuntu-latest]
12
15
php : [8.2, 8.1, 8.0]
13
- laravel : [10.*, 9.* ]
16
+ laravel : ['9.*', ' 10.*', '11.*' ]
14
17
dependency-version : [prefer-stable]
15
18
include :
16
19
- laravel : 10.*
17
20
testbench : 8.*
18
21
- laravel : 9.*
19
22
testbench : 7.*
20
-
23
+ - laravel : 11.*
24
+ testbench : 9.*
21
25
exclude :
22
26
- laravel : 10.*
23
27
php : 8.0
28
+ - laravel : 11.*
29
+ php : 8.1
30
+ - laravel : 11.*
31
+ php : 8.0
24
32
25
33
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
26
34
45
53
run : |
46
54
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
47
55
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
56
+
48
57
- name : Execute tests
49
58
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 25
25
"prefer-stable" : true ,
26
26
"require" : {
27
27
"php" : " ^8.0" ,
28
- "laravel/framework" : " ^9.0|^10.0"
28
+ "laravel/framework" : " ^9.0|^10.0|^11.0 "
29
29
},
30
30
"require-dev" : {
31
31
"mockery/mockery" : " ^1.5.1" ,
32
- "illuminate/database" : " ^9.0|^10.0" ,
33
- "orchestra/testbench" : " ^7.0|^8.0" ,
32
+ "illuminate/database" : " ^9.0|^10.0|^11.0 " ,
33
+ "orchestra/testbench" : " ^7.0|^8.0|^9.0 " ,
34
34
"doctrine/dbal" : " ^2.10|^3.5"
35
35
},
36
36
"config" : {
You can’t perform that action at this time.
0 commit comments