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