File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
fail-fast : true
13
13
matrix :
14
- php : [7.3, 7.4, 8.0, 8.1]
14
+ php : [8.1, 8.0]
15
+ laravel : [9.*, 8.*]
16
+ stability : [prefer-lowest, prefer-stable]
17
+ include :
18
+ - laravel : 9.*
19
+ testbench : 7.*
20
+ - laravel : 8.*
21
+ testbench : ^6.23
15
22
16
- name : PHP ${{ matrix.php }}
23
+ name : P ${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
17
24
18
25
steps :
19
26
- name : Checkout code
29
36
path : ${{ steps.composer-cache.outputs.dir }}
30
37
key : ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
31
38
restore-keys : |
32
- ${{ runner.os }}-${{ matrix.php }}-composer-
39
+ ${{ runner.os }}-P ${{ matrix.php }}-L${{ matrix.laravel }}-composer-
33
40
34
41
- name : Setup PHP
35
42
uses : shivammathur/setup-php@v2
39
46
coverage : none
40
47
41
48
- name : Install dependencies
42
- uses : nick-invision/retry@v1
43
- with :
44
- timeout_minutes : 2
45
- max_attempts : 2
46
- command : composer install --prefer-dist --no-interaction --no-progress --ignore-platform-reqs
49
+ run : |
50
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51
+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
47
52
48
53
- name : Run tests
49
54
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"require" : {
15
- "php" : " ^7.2|^ 8.0" ,
16
- "illuminate/notifications" : " ^5.3|^6.0|^7.0|^ 8.0|^9.0" ,
17
- "illuminate/support" : " ^5.1|^6.0|^7.0|^ 8.0|^9.0" ,
15
+ "php" : " ^8.0" ,
16
+ "illuminate/notifications" : " ^8.0|^9.0" ,
17
+ "illuminate/support" : " ^8.0|^9.0" ,
18
18
"minishlink/web-push" : " ^6.0"
19
19
},
20
20
"require-dev" : {
21
21
"mockery/mockery" : " ~1.0" ,
22
- "orchestra/testbench" : " ^4.0|^5.0|^ 6.0|^7.0" ,
23
- "phpunit/phpunit" : " ^8.5|^ 9.0"
22
+ "orchestra/testbench" : " ^6.0|^7.0" ,
23
+ "phpunit/phpunit" : " ^9.0"
24
24
},
25
25
"autoload" : {
26
26
"psr-4" : {
You can’t perform that action at this time.
0 commit comments