File tree 1 file changed +20
-15
lines changed
1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -2,30 +2,35 @@ name: run-tests
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches : [main, v2 ]
6
6
pull_request :
7
- branches : [main]
7
+ branches : [main, v2 ]
8
8
9
9
jobs :
10
10
test :
11
- runs-on : ${{ matrix.os }}
11
+ runs-on : ubuntu-latest
12
12
strategy :
13
13
fail-fast : true
14
14
matrix :
15
- os : [ubuntu-latest]
16
- php : [8.2]
17
- laravel : [10.*]
18
- stability : [prefer-stable]
19
15
include :
20
- - laravel : 10.*
21
- testbench : 8.*
22
- carbon : ^2.63
23
-
24
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
16
+ - php : 8.3
17
+ env :
18
+ LARAVEL : 11.*
19
+ TESTBENCH : 9.*
20
+ - php : 8.4
21
+ env :
22
+ LARAVEL : 11.*
23
+ TESTBENCH : 9.*
24
+ - php : 8.4
25
+ env :
26
+ LARAVEL : 12.*
27
+ TESTBENCH : 10.*
28
+ env : ${{ matrix.env }}
29
+ name : P${{ matrix.php }} - L${{ matrix.env.LARAVEL }} - TB${{ matrix.env.TESTBENCH }}
25
30
26
31
steps :
27
32
- name : Checkout code
28
- uses : actions/checkout@v3
33
+ uses : actions/checkout@v4
29
34
30
35
- name : Setup PHP
31
36
uses : shivammathur/setup-php@v2
41
46
42
47
- name : Install dependencies
43
48
run : |
44
- composer require "laravel/framework:${{ matrix.laravel }} " "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon } }" --no-interaction --no-update
45
- composer update --${{ matrix.stability }} --prefer-dist --no-interaction
49
+ composer require "laravel/framework:${LARAVEL} " "orchestra/testbench:${TESTBENCH }" --no-interaction --no-update
50
+ composer update --prefer-stable --prefer-dist --no-interaction
46
51
47
52
- name : List Installed Dependencies
48
53
run : composer show -D
You can’t perform that action at this time.
0 commit comments