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:
1111 strategy :
1212 fail-fast : true
1313 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 .*]
1616 stability : [prefer-lowest, prefer-stable]
1717 include :
18+ - laravel : 11.*
19+ testbench : 9.*
1820 - laravel : 10.*
1921 testbench : 8.*
2022 - laravel : 9.*
2123 testbench : ^7.19
22- - laravel : 8.*
23- testbench : ^6.23
2424 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
2629 - 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
3131
3232 name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
3333
3434 steps :
3535 - name : Checkout code
36- uses : actions/checkout@v3
36+ uses : actions/checkout@v4
3737
3838 - name : Get Composer cache directory
3939 id : composer-cache
4040 run : |
41- echo "::set-output name= dir:: $(composer config cache-files-dir)"
41+ echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4242
43- - uses : actions/cache@v3
43+ - uses : actions/cache@v4
4444 with :
4545 path : ${{ steps.composer-cache.outputs.dir }}
4646 key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-${{ matrix.stability }}-composer
5252 with :
5353 php-version : ${{ matrix.php }}
5454 extensions : curl
55- coverage : none
55+ coverage : xdebug
5656
5757 - name : Install dependencies
5858 run : |
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "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" ,
1818 "minishlink/web-push" : " ^8.0"
1919 },
2020 "require-dev" : {
2121 "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 "
2424 },
2525 "autoload" : {
2626 "psr-4" : {
4747 "scripts" : {
4848 "test" : " vendor/bin/phpunit"
4949 }
50- }
50+ }
Original file line number Diff line number Diff line change 11<?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 " >
33 <coverage >
4- <include >
5- <directory suffix =" .php" >src/</directory >
6- </include >
74 <report >
85 <clover outputFile =" build/logs/clover.xml" />
96 <html outputDirectory =" build/coverage" />
2219 <env name =" DB_CONNECTION" value =" sqlite" />
2320 <env name =" DB_DATABASE" value =" :memory:" />
2421 </php >
22+ <source >
23+ <include >
24+ <directory suffix =" .php" >src/</directory >
25+ </include >
26+ </source >
2527</phpunit >
You can’t perform that action at this time.
0 commit comments