This repository was archived by the owner on Jan 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ${{ matrix.os }}
11
+ runs-on : ubuntu-latest
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- php : [8.0, 7.4, 7.3]
16
- laravel : [^8.0]
17
- dependency-version : [prefer-lowest, prefer-stable]
18
- os : [ubuntu-latest]
15
+ php : [8.1, 8.0, 7.4, 7.3]
16
+ laravel : [^8.0, ^9.0]
17
+ exclude :
18
+ - php : 7.3
19
+ laravel : ' ^9.0'
20
+ - php : 7.4
21
+ laravel : ' ^9.0'
19
22
20
- name : P${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependency-version }} - ${{ matrix.os }}
23
+ name : P${{ matrix.php }} - L${{ matrix.laravel }}
21
24
22
25
steps :
23
26
- name : Checkout code
38
41
39
42
- name : Install dependencies
40
43
run : |
41
- composer require "illuminate/container:${{ matrix.laravel }}" "illuminate/ contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" --no-interaction --no-update
42
- composer update --${{ matrix.dependency-version }} -- prefer-dist --no-interaction --no-suggest
44
+ composer require "illuminate/contracts:${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
45
+ composer update --prefer-dist --no-interaction --no-suggest
43
46
44
47
- name : Execute tests
45
48
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 13
13
"require" : {
14
14
"php" : " ^7.3|^8.0" ,
15
15
"dyrynda/laravel-model-uuid" : " ^6.5" ,
16
- "illuminate/container" : " ^8.12" ,
17
- "illuminate/contracts" : " ^8.12" ,
18
- "illuminate/database" : " ^8.12" ,
16
+ "illuminate/container" : " ^8.12|^9.0 " ,
17
+ "illuminate/contracts" : " ^8.12|^9.0 " ,
18
+ "illuminate/database" : " ^8.12|^9.0 " ,
19
19
"ramsey/uuid" : " ^4.1"
20
20
},
21
21
"require-dev" : {
22
22
"laravel/legacy-factories" : " ^1.1" ,
23
23
"mockery/mockery" : " ^1.4.2" ,
24
- "orchestra/testbench" : " ^6.0" ,
24
+ "orchestra/testbench" : " ^6.0|^7.0 " ,
25
25
"phpunit/phpunit" : " ^9.3"
26
26
},
27
27
"autoload" : {
You can’t perform that action at this time.
0 commit comments