File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change 9
9
10
10
strategy :
11
11
matrix :
12
- php-version : ['8.2', '8.3', '8.4']
13
- laravel-version : ['11.0', '12.0']
12
+ php : [8.2, 8.3, 8.4]
13
+ laravel : [11.*, 12.*]
14
+ stability : [prefer-lowest, prefer-stable]
15
+ include :
16
+ - laravel : 12.*
17
+ testbench : ^10.0
18
+ - laravel : 11.*
19
+ testbench : ^9.0
20
+
21
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
14
22
15
23
steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@v2
26
+
16
27
- name : Setup PHP
17
28
uses : shivammathur/setup-php@v2
18
29
with :
19
- php-version : ${{ matrix.php-version }}
20
-
21
- - uses : actions/checkout@v2
30
+ php-version : ${{ matrix.php }}
22
31
23
- - name : Install laravel
24
- run : composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
32
+ - name : Install dependencies
33
+ run : |
34
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
35
+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
25
36
26
37
- name : Run unit tests
27
38
run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments