File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 16
16
fail-fast : false
17
17
matrix :
18
18
php : [ 7.3, 7.4, 8.0 ]
19
- laravel : [ 7.*, 8.* ]
19
+ laravel : [ 7.*, 8.*, 9.* ]
20
20
dependency-version : [ prefer-lowest, prefer-stable ]
21
21
include :
22
22
- laravel : 7.*
25
25
- laravel : 8.*
26
26
testbench : 6.*
27
27
28
+ - laravel : 9.*
29
+ testbench : 7.*
30
+
31
+ exclude :
32
+ - laravel : 9.*
33
+ php : 7.3
34
+
35
+ - laravel : 9.*
36
+ php : 7.4
37
+
28
38
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
29
39
30
40
steps :
@@ -54,15 +64,17 @@ jobs:
54
64
run : vendor/bin/phpunit
55
65
56
66
- name : Install Livewire V1
67
+ if : " ! startsWith(matrix.laravel, '9.')"
57
68
run : |
58
69
composer require "livewire/livewire:^1" --no-interaction
59
70
60
71
- name : Execute tests
72
+ if : " ! startsWith(matrix.laravel, '9.')"
61
73
run : vendor/bin/phpunit
62
74
63
75
- name : Install Livewire V2
64
76
run : |
65
- composer require "livewire/livewire:^2" --no-interaction
77
+ composer require "livewire/livewire:^2.3.10" -W --${{ matrix.dependency-version }} --no-interaction
66
78
67
79
- name : Execute tests
68
80
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.3|^8.0" ,
20
- "illuminate/support" : " ^7.26.0|^8.0" ,
21
- "illuminate/console" : " ^7.26.0|^8.0" ,
22
- "illuminate/http" : " ^7.26.0|^8.0" ,
23
- "illuminate/cache" : " ^7.26.0|^8.0" ,
24
- "illuminate/view" : " ^7.26.0|^8.0" ,
20
+ "illuminate/support" : " ^7.26.0|^8.0|^9.0 " ,
21
+ "illuminate/console" : " ^7.26.0|^8.0|^9.0 " ,
22
+ "illuminate/http" : " ^7.26.0|^8.0|^9.0 " ,
23
+ "illuminate/cache" : " ^7.26.0|^8.0|^9.0 " ,
24
+ "illuminate/view" : " ^7.26.0|^8.0|^9.0 " ,
25
25
"guzzlehttp/guzzle" : " ^7.2" ,
26
26
"ramsey/uuid" : " ^3.7|^4.0"
27
27
},
28
28
"require-dev" : {
29
- "orchestra/testbench" : " ^5.0|^6.0" ,
29
+ "orchestra/testbench" : " ^5.0|^6.0|^7.0 " ,
30
30
"mockery/mockery" : " ^1.3.3" ,
31
- "phpunit/phpunit" : " ^8.4"
31
+ "phpunit/phpunit" : " ^8.4|^9.5 "
32
32
},
33
33
"autoload" : {
34
34
"psr-4" : {
You can’t perform that action at this time.
0 commit comments