File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 6
6
test :
7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
9
- fail-fast : true
9
+ fail-fast : false
10
10
matrix :
11
11
os : [ubuntu-latest]
12
- php : [7.4]
12
+ php : [7.4, 8.0 ]
13
13
laravel : [7.*, 8.*]
14
14
dependency-version : [prefer-lowest, prefer-stable]
15
15
include :
24
24
- name : Checkout code
25
25
uses : actions/checkout@v2
26
26
27
- - name : Cache dependencies
28
- uses : actions/cache@v2
29
- with :
30
- path : ~/.composer/cache/files
31
- key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
32
-
33
27
- name : Setup PHP
34
28
uses : shivammathur/setup-php@v2
35
29
with :
42
36
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43
37
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
44
38
39
+ - name : Setup Problem Matches
40
+ run : |
41
+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
42
+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
43
+
45
44
- name : Execute tests
46
45
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 30
30
}
31
31
],
32
32
"require" : {
33
- "php" : " ^7.4" ,
33
+ "php" : " ^7.4|^8.0 " ,
34
34
"illuminate/support" : " ^7.0|^8.0" ,
35
35
"illuminate/http" : " ^7.0|^8.0" ,
36
36
"illuminate/contracts" : " ^7.0|^8.0"
You can’t perform that action at this time.
0 commit comments