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 99
1010 strategy :
1111 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 }}
1422
1523 steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v2
26+
1627 - name : Setup PHP
1728 uses : shivammathur/setup-php@v2
1829 with :
19- php-version : ${{ matrix.php-version }}
20-
21- - uses : actions/checkout@v2
30+ php-version : ${{ matrix.php }}
2231
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
2536
2637 - name : Run unit tests
2738 run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments