1010
1111jobs :
1212 php-tests :
13- runs-on : ${{ matrix.os }}
13+ runs-on : ubuntu-latest
1414
1515 strategy :
1616 matrix :
17- php : [8.1, 8.0, 7.4, 7.3]
18- laravel : [9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*]
19- os : [ubuntu-latest]
20- include :
21- - laravel : 9.*
22- testbench : 7.*
23- - laravel : 8.*
24- testbench : 6.*
25- - laravel : 7.*
26- testbench : 5.*
27- - laravel : 6.*
28- testbench : 4.*
29- - laravel : 5.8.*
30- testbench : 3.8.*
31- - laravel : 5.7.*
32- testbench : 3.7.*
33- - laravel : 5.6.*
34- testbench : 3.6.*
35- exclude :
36- - laravel : 9.*
37- php : 7.3
38- - laravel : 9.*
39- php : 7.4
40- - laravel : 5.7.*
41- php : 7.4
42- - laravel : 5.6.*
43- php : 7.4
44- - laravel : 5.5.*
45- php : 7.4
46- - laravel : 5.8.*
47- php : 8.0
48- - laravel : 5.7.*
49- php : 8.0
50- - laravel : 5.6.*
51- php : 8.0
52- - laravel : 5.6.*
53- php : 8.1
54- - laravel : 5.7.*
55- php : 8.1
56- - laravel : 5.8.*
57- php : 8.1
58- - laravel : 6.*
59- php : 8.1
60- - laravel : 7.*
61- php : 8.1
17+ payload :
18+ - { queue: 'github-actions-laravel9-php81', laravel: '9.*', php: '8.1', 'testbench': '7.*'}
19+ - { queue: 'github-actions-laravel9-php80', laravel: '9.*', php: '8.0', 'testbench': '7.*'}
20+ - { queue: 'github-actions-laravel8-php81', laravel: '8.*', php: '8.1', 'testbench': '6.*'}
21+ - { queue: 'github-actions-laravel8-php80', laravel: '8.*', php: '8.0', 'testbench': '6.*'}
22+ - { queue: 'github-actions-laravel8-php74', laravel: '8.*', php: '7.4', 'testbench': '6.*'}
23+ - { queue: 'github-actions-laravel7-php80', laravel: '7.*', php: '8.0', 'testbench': '5.*' }
24+ - { queue: 'github-actions-laravel7-php74', laravel: '7.*', php: '7.4', 'testbench': '5.*' }
25+ - { queue: 'github-actions-laravel6-php80', laravel: '6.*', php: '8.0', 'testbench': '4.*' }
26+ - { queue: 'github-actions-laravel6-php74', laravel: '6.*', php: '7.4', 'testbench': '4.*' }
6227
63- name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
28+ name : PHP ${{ matrix.payload. php }} - Laravel ${{ matrix.payload .laravel }}
6429
6530 steps :
6631 - name : Checkout code
@@ -69,13 +34,13 @@ jobs:
6934 - name : Setup PHP
7035 uses : shivammathur/setup-php@v2
7136 with :
72- php-version : ${{ matrix.php }}
37+ php-version : ${{ matrix.payload. php }}
7338 extensions : mbstring, dom, fileinfo
7439 coverage : none
7540
7641 - name : Install dependencies
7742 run : |
78- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43+ composer require "laravel/framework:${{ matrix.payload. laravel }}" "orchestra/testbench:${{ matrix.payload .testbench }}" --no-interaction --no-update
7944 composer update --prefer-stable --prefer-dist --no-interaction --ignore-platform-reqs
8045 - name : Execute tests
8146 run : vendor/bin/phpunit
0 commit comments