7
7
8
8
jobs :
9
9
php-tests :
10
- runs-on : ${{ matrix.os }}
10
+ runs-on : ${{ matrix.payload. os }}
11
11
12
12
strategy :
13
13
matrix :
14
- php : [8.1, 8.0, 7.4, 7.3, 7.2]
15
- laravel : [9.*, 8.*, 7.*, 6.*]
16
14
os : [ubuntu-latest]
17
15
payload :
18
16
- { queue: 'github-actions-laravel9-php81', laravel: '10.*', php: '8.2', 'testbench': '8.*' }
24
22
- { queue: 'github-actions-laravel8-php80', laravel: '8.*', php: '8.0', 'testbench': '6.*' }
25
23
- { queue: 'github-actions-laravel8-php74', laravel: '8.*', php: '7.4', 'testbench': '6.*' }
26
24
27
- name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
25
+ name : PHP ${{ matrix.payload. php }} - Laravel ${{ matrix.payload .laravel }}
28
26
29
27
services :
30
28
mysql :
@@ -46,13 +44,13 @@ jobs:
46
44
- name : Setup PHP
47
45
uses : shivammathur/setup-php@v2
48
46
with :
49
- php-version : ${{ matrix.php }}
47
+ php-version : ${{ matrix.payload. php }}
50
48
extensions : mbstring, dom, fileinfo, mysql
51
49
coverage : none
52
50
53
51
- name : Install dependencies
54
52
run : |
55
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
53
+ composer require "laravel/framework:${{ matrix.payload. laravel }}" "orchestra/testbench:${{ matrix.payload .testbench }}" --no-interaction --no-update
56
54
composer update --prefer-stable --prefer-dist --no-interaction
57
55
- name : Execute tests
58
56
env :
0 commit comments