Commit a53b19f authored Feb 28, 2024 · 14 / 18 · Verified
File tree 3 files changed +29
-13
lines changed
3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : run-tests
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
4
10
5
11
jobs :
6
12
test :
7
13
runs-on : ${{ matrix.os }}
14
+
8
15
strategy :
9
16
fail-fast : false
10
17
matrix :
11
18
os : [ubuntu-latest, windows-latest]
12
19
php : [8.3, 8.2, 8.1]
13
- laravel : [10.*, 9.* ]
14
- stability : [prefer-stable]
20
+ laravel : ['9.*', ' 10.*', '11.*' ]
21
+ dependency-version : [prefer-stable]
15
22
include :
16
- - laravel : 10.*
17
- testbench : 8.*
18
23
- laravel : 9.*
19
24
testbench : 7.*
25
+ - laravel : 10.*
26
+ testbench : 8.*
27
+ - laravel : 11.*
28
+ testbench : 9.*
29
+ exclude :
30
+ - laravel : 11.*
31
+ php : 8.1
20
32
21
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
33
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
22
34
23
35
steps :
24
36
- name : Checkout code
39
51
- name : Install dependencies
40
52
run : |
41
53
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
42
- composer update --${{ matrix.stability }} --prefer-dist --no-interaction --dev
54
+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
43
55
44
56
- name : Execute tests
45
- run : vendor/bin/phpunit
57
+ run : composer run-script test
Original file line number Diff line number Diff line change @@ -55,9 +55,13 @@ The following changes are required when updating:
55
55
56
56
## Changes
57
57
58
+ ### 2.2.0
59
+
60
+ - Add Laravel 11 support
61
+
58
62
### 2.1.0
59
63
60
- - Add PHP 8.2 support
64
+ - Add PHP 8.3 support
61
65
62
66
### 2.0.0
63
67
Original file line number Diff line number Diff line change 23
23
"php" : " ~8.3.0 | ~8.2.0 | ~8.1.0" ,
24
24
"ext-json" : " *" ,
25
25
"guzzlehttp/guzzle" : " ^7.2" ,
26
- "illuminate/http" : " ^9.0 || ^10.0" ,
27
- "illuminate/support" : " ^9.0 || ^10.0" ,
26
+ "illuminate/http" : " ^9.0 || ^10.0 || ^11.0 " ,
27
+ "illuminate/support" : " ^9.0 || ^10.0 || ^11.0 " ,
28
28
"spatie/laravel-package-tools" : " ^1.1"
29
29
},
30
30
"require-dev" : {
31
- "orchestra/testbench" : " ^7.0" ,
32
- "phpunit/phpunit" : " ^9.5.10" ,
31
+ "orchestra/testbench" : " ^7.0 || ^8.0 || ^9.0 " ,
32
+ "phpunit/phpunit" : " ^9.5.10 || ^10.0 " ,
33
33
"spatie/laravel-ray" : " ^1.29" ,
34
34
"timacdonald/log-fake" : " ^2.0" ,
35
35
"vimeo/psalm" : " ^4.20"
You can’t perform that action at this time.
0 commit comments