File tree 2 files changed +41
-37
lines changed
2 files changed +41
-37
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
pull_request :
6
6
schedule :
7
- - cron : ' 0 0 * * *'
7
+ - cron : ' 0 0 * * *'
8
8
9
9
jobs :
10
- php-tests :
11
- runs-on : ${{ matrix.os }}
12
-
13
- strategy :
14
- matrix :
15
- php : [7.4, 7.3, 7.2]
16
- laravel : [7.*, ^6.10]
17
- dependency-version : [prefer-lowest, prefer-stable]
18
- os : [ubuntu-latest]
19
- include :
20
- - laravel : 7.*
21
- testbench : 5.*
22
- - laravel : ^6.10
23
- testbench : ^4.4
24
-
25
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
26
-
27
- steps :
28
- - name : Checkout code
29
- uses : actions/checkout@v1
30
-
31
- - name : Setup PHP
32
- uses : shivammathur/setup-php@v1
33
- with :
34
- php-version : ${{ matrix.php }}
35
- coverage : none
36
-
37
- - name : Install dependencies
38
- run : |
39
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" ${{ matrix.additional-deps }} --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
10
+ php-tests :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ matrix :
15
+ php : [8.1, 8.0, 7.4, 7.3]
16
+ laravel : [8.*, 9.*]
17
+ stability : [prefer-lowest, prefer-stable]
18
+ os : [ubuntu-latest]
19
+ exclude :
20
+ - laravel : 9.*
21
+ php : 7.4
22
+ - laravel : 9.*
23
+ php : 7.3
24
+
25
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
26
+
27
+ steps :
28
+ - name : Checkout code
29
+ uses : actions/checkout@v1
30
+
31
+ - name : Setup PHP
32
+ uses : shivammathur/setup-php@v2
33
+ with :
34
+ php-version : ${{ matrix.php }}
35
+ coverage : none
36
+
37
+ - name : Install dependencies
38
+ uses : nick-invision/retry@v2
39
+ with :
40
+ timeout_minutes : 5
41
+ max_attempts : 5
42
+ command : |
43
+ composer require "illuminate/contracts:${{ matrix.laravel }}" --dev --no-interaction --no-update
44
+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
45
+
46
+ - name : Execute tests
47
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 3
3
"description" : " Debug Laravel views" ,
4
4
"license" : " MIT" ,
5
5
"require" : {
6
- "laravel/framework" : " ^6.10 || ^7.0 || ^ 8.0 || ^9.0"
6
+ "laravel/framework" : " ^8.0 || ^9.0"
7
7
},
8
8
"require-dev" : {
9
- "orchestra/testbench" : " ^5 .0"
9
+ "orchestra/testbench" : " ^6.22 || ^7 .0"
10
10
},
11
11
"autoload" : {
12
12
"psr-4" : {
You can’t perform that action at this time.
0 commit comments