@@ -3,35 +3,40 @@ name: run-tests
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
7
- runs-on : ubuntu-latest
8
- strategy :
9
- fail-fast : true
10
- matrix :
11
- php : [8.1, 8.0, 7.4]
12
- laravel : [8.*]
13
- dependency-version : [prefer-lowest, prefer-stable]
14
- include :
15
- - laravel : 8.*
16
- testbench : 6.*
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : true
10
+ matrix :
11
+ php : [8.1, 8.0, 7.4]
12
+ laravel : [9.*, 8.*]
13
+ dependency-version : [prefer-lowest, prefer-stable]
14
+ exclude :
15
+ - laravel : 9.*
16
+ php : 7.4
17
+ include :
18
+ - laravel : 9.*
19
+ testbench : 7.*
20
+ - laravel : 8.*
21
+ testbench : 6.*
17
22
18
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
23
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
19
24
20
- steps :
21
- - name : Checkout code
22
- uses : actions/checkout@v2
25
+ steps :
26
+ - name : Checkout code
27
+ uses : actions/checkout@v2
23
28
24
- - name : Setup PHP
25
- uses : shivammathur/setup-php@v2
26
- with :
27
- php-version : ${{ matrix.php }}
28
- extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql
29
- coverage : none
29
+ - name : Setup PHP
30
+ uses : shivammathur/setup-php@v2
31
+ with :
32
+ php-version : ${{ matrix.php }}
33
+ extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql
34
+ coverage : none
30
35
31
- - name : Install dependencies
32
- run : |
33
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
34
- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
36
+ - name : Install dependencies
37
+ run : |
38
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
39
+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
35
40
36
- - name : Execute tests
37
- run : vendor/bin/phpunit
41
+ - name : Execute tests
42
+ run : vendor/bin/phpunit
0 commit comments