File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,33 @@ name: run-tests
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
- branches : [main]
8
+ branches :
9
+ - main
8
10
9
11
jobs :
10
12
pest :
11
13
name : Tests (Pest) L${{ matrix.laravel }}
14
+
12
15
runs-on : ubuntu-latest
16
+
13
17
strategy :
14
18
matrix :
15
19
os : [ubuntu-latest, windows-latest]
16
- laravel : [ 8, 9 ]
17
- php : [ 8.1 ]
20
+ laravel : [8, 9, '11' ]
21
+ php : [8.1, '8.2' ]
18
22
stability : [prefer-lowest, prefer-stable]
23
+ exclude :
24
+ - laravel : ' 11'
25
+ php : 8.1
19
26
20
27
steps :
21
28
- uses : actions/checkout@v2
29
+
22
30
- name : Install composer dependencies
23
31
run : composer require "illuminate/support:^${{ matrix.laravel }}.0"
32
+
24
33
- name : Run tests
25
- run : vendor/bin/pest
34
+ run : vendor/bin/pest
Original file line number Diff line number Diff line change 29
29
"jawira/case-converter" : " ^3.5"
30
30
},
31
31
"require-dev" : {
32
- "pestphp/pest" : " ^1.21" ,
33
- "orchestra/testbench" : " ^6.23|^7.0" ,
32
+ "pestphp/pest" : " ^1.21|^2.34 " ,
33
+ "orchestra/testbench" : " ^6.23|^7.0|^9.0 " ,
34
34
"phpstan/phpstan" : " ^1.7" ,
35
35
"friendsofphp/php-cs-fixer" : " ^3.8" ,
36
- "pestphp/pest-plugin-laravel" : " ^1.2"
36
+ "pestphp/pest-plugin-laravel" : " ^1.2|^2.3 "
37
37
},
38
38
"minimum-stability" : " dev" ,
39
39
"prefer-stable" : true ,
You can’t perform that action at this time.
0 commit comments