File tree Expand file tree Collapse file tree 2 files changed +24
-9
lines changed Expand file tree Collapse file tree 2 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : PHP
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ - push
5
+ - pull_request
4
6
5
7
jobs :
6
8
run :
7
9
runs-on : ubuntu-latest
10
+
8
11
strategy :
9
12
max-parallel : 15
10
13
fail-fast : false
11
14
matrix :
12
- laravel-version : ['^8.0 ', '^9 .0', 10.* ]
15
+ laravel-version : ['10.* ', '11 .0', ^8.0, ^9.0 ]
13
16
php-version : ['8.0', '8.1', '8.2']
17
+ exclude :
18
+ - laravel-version : 11.*
19
+ php-version : ' 8.0'
20
+ - laravel-version : 11.*
21
+ php-version : ' 8.1'
22
+
14
23
name : PHP ${{ matrix.php-version }} on Laravel ${{ matrix.laravel-version }}
24
+
15
25
steps :
16
26
- name : Checkout
17
27
uses : actions/checkout@master
28
+
18
29
- name : Setup PHP
19
30
uses : shivammathur/setup-php@master
20
31
with :
21
32
php-version : ${{ matrix.php-version }}
22
33
extension-csv : mbstring, xdebug
23
34
coverage : xdebug
35
+
24
36
- name : Install dependencies
25
37
run : |
26
38
composer require --no-update --no-interaction "illuminate/support:${{ matrix.laravel-version }}"
27
39
composer update --no-interaction --prefer-dist --no-suggest
40
+
28
41
- name : Lint composer.json
29
42
run : composer validate
43
+
30
44
- name : Run Tests
31
45
run : composer test:unit
46
+
32
47
- name : Run Integration Tests
33
48
run : composer test:integration
Original file line number Diff line number Diff line change 30
30
],
31
31
"require" : {
32
32
"php" : " >=7.2|^8.0" ,
33
- "twilio/sdk" : " ~6.0" ,
34
- "illuminate/notifications" : " ^7.0 || ^8.0 || ^9.0 || ^10.0" ,
35
- "illuminate/support" : " ^7.0 || ^8.0 || ^9.0 || ^10.0" ,
36
- "illuminate/events" : " ^7.0 || ^8.0 || ^9.0 || ^10.0" ,
37
- "illuminate/queue" : " ^7.0 || ^8.0 || ^9.0 || ^10.0"
33
+ "twilio/sdk" : " ~6.0|^7.16 " ,
34
+ "illuminate/notifications" : " ^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0 " ,
35
+ "illuminate/support" : " ^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0 " ,
36
+ "illuminate/events" : " ^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0 " ,
37
+ "illuminate/queue" : " ^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0 "
38
38
},
39
39
"require-dev" : {
40
40
"mockery/mockery" : " ^1.3" ,
41
- "phpunit/phpunit" : " ^8.5|^9.5" ,
42
- "orchestra/testbench" : " ^5.0 || ^6.0 || ^7.0 || ^8.0"
41
+ "phpunit/phpunit" : " ^8.5|^9.5|^10.5 " ,
42
+ "orchestra/testbench" : " ^5.0 || ^6.0 || ^7.0 || ^8.0|^9.0 "
43
43
},
44
44
"autoload" : {
45
45
"psr-4" : {
You can’t perform that action at this time.
0 commit comments