File tree Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Original file line number Diff line number Diff line change @@ -11,36 +11,36 @@ jobs:
11
11
strategy :
12
12
fail-fast : true
13
13
matrix :
14
- php : [8.2 , 8.1 , 8.0 ]
15
- laravel : [9.*, 8 .*, 10 .*]
14
+ php : [8.3 , 8.2 , 8.1 ]
15
+ laravel : [9.*, 10 .*, 11 .*]
16
16
stability : [prefer-lowest, prefer-stable]
17
17
include :
18
+ - laravel : 11.*
19
+ testbench : 9.*
18
20
- laravel : 10.*
19
21
testbench : 8.*
20
22
- laravel : 9.*
21
23
testbench : ^7.19
22
- - laravel : 8.*
23
- testbench : ^6.23
24
24
exclude :
25
- # Laravel 10 doesn't support PHP 8.0
25
+ # Laravel 11 doesn't support PHP 8.1
26
+ - laravel : 11.*
27
+ php : 8.1
28
+ # Laravel 9 doesn't support PHP 8.3
26
29
- laravel : 10.*
27
- php : 8.0
28
- # Laravel 8 doesn't support PHP 8.2
29
- - laravel : 8.*
30
- php : 8.2
30
+ php : 8.3
31
31
32
32
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
33
33
34
34
steps :
35
35
- name : Checkout code
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
37
37
38
38
- name : Get Composer cache directory
39
39
id : composer-cache
40
40
run : |
41
- echo "::set-output name= dir:: $(composer config cache-files-dir)"
41
+ echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
42
42
43
- - uses : actions/cache@v3
43
+ - uses : actions/cache@v4
44
44
with :
45
45
path : ${{ steps.composer-cache.outputs.dir }}
46
46
key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-${{ matrix.stability }}-composer
52
52
with :
53
53
php-version : ${{ matrix.php }}
54
54
extensions : curl
55
- coverage : none
55
+ coverage : xdebug
56
56
57
57
- name : Install dependencies
58
58
run : |
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"require" : {
15
- "php" : " ^8.0 " ,
16
- "illuminate/notifications" : " ^8 .0|^9 .0|^10 .0" ,
17
- "illuminate/support" : " ^8 .0|^9 .0|^10 .0" ,
15
+ "php" : " ^8.1 " ,
16
+ "illuminate/notifications" : " ^9 .0|^10 .0|^11 .0" ,
17
+ "illuminate/support" : " ^9 .0|^10 .0|^11 .0" ,
18
18
"minishlink/web-push" : " ^8.0"
19
19
},
20
20
"require-dev" : {
21
21
"mockery/mockery" : " ~1.0" ,
22
- "orchestra/testbench" : " ^6 .0|^7 .0|^8 .0" ,
23
- "phpunit/phpunit" : " ^9.0 "
22
+ "orchestra/testbench" : " ^7 .0|^8 .0|^9 .0" ,
23
+ "phpunit/phpunit" : " ^9.5|^10.5 "
24
24
},
25
25
"autoload" : {
26
26
"psr-4" : {
47
47
"scripts" : {
48
48
"test" : " vendor/bin/phpunit"
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" backupStaticAttributes = " false " colors =" true" verbose = " true " convertErrorsToExceptions = " true " convertNoticesToExceptions = " true " convertWarningsToExceptions = " true " processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd" >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5 /phpunit.xsd" cacheDirectory = " .phpunit.cache " backupStaticProperties = " false " >
3
3
<coverage >
4
- <include >
5
- <directory suffix =" .php" >src/</directory >
6
- </include >
7
4
<report >
8
5
<clover outputFile =" build/logs/clover.xml" />
9
6
<html outputDirectory =" build/coverage" />
22
19
<env name =" DB_CONNECTION" value =" sqlite" />
23
20
<env name =" DB_DATABASE" value =" :memory:" />
24
21
</php >
22
+ <source >
23
+ <include >
24
+ <directory suffix =" .php" >src/</directory >
25
+ </include >
26
+ </source >
25
27
</phpunit >
You can’t perform that action at this time.
0 commit comments