File tree Expand file tree Collapse file tree 3 files changed +21
-21
lines changed Expand file tree Collapse file tree 3 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,11 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- php : [ 7.4 , 7.3 ]
19- laravel : [ 8.*, 7.* ]
18+ php : [ 7.3 , 7.4 ]
19+ laravel : [ '^6.10', '^7.0', '^7.8' ]
2020 dependency-version : [prefer-lowest, prefer-stable]
21- include :
22- - laravel : 7.*
23- testbench : 5.*
24- - laravel : 8.*
25- testbench : 6.*
2621
27- name : P ${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
22+ name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
2823
2924 steps :
3025 - name : Update apt
3732 uses : actions/cache@v2
3833 with :
3934 path : ~/.composer/cache/files
40- key : dependencies- laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35+ key : laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
4136
4237 - name : Setup PHP
4338 uses : shivammathur/setup-php@v2
5146
5247 - name : Install dependencies
5348 run : |
54- composer require "laravel/framework :${{ matrix.laravel }}" "orchestra/testbench :${{ matrix.testbench }}" --no-interaction --no-update
55- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
49+ composer require "illuminate/support :${{ matrix.laravel }}" "illuminate/http :${{ matrix.laravel }}" --no-interaction --no-update
50+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
5651
5752 - name : Execute tests
58- run : vendor/bin/phpunit
53+ run : vendor/bin/phpunit --verbose
Original file line number Diff line number Diff line change 1515 ],
1616 "require" : {
1717 "php" : " ^7.3" ,
18- "illuminate/support" : " ^7.0 || ^8.0" ,
19- "illuminate/http" : " ^7.0 || ^8.0"
18+ "illuminate/support" : " ^6.10 || ^ 7.0 || ^8.0" ,
19+ "illuminate/http" : " ^6.10 || ^ 7.0 || ^8.0"
2020 },
2121 "require-dev" : {
22- "orchestra/testbench" : " ^5.0 || ^6.0" ,
23- "phpunit/phpunit" : " ^9.1 " ,
22+ "orchestra/testbench" : " ^4.0 || ^ 5.0 || ^6.0" ,
23+ "phpunit/phpunit" : " ^9.3 " ,
2424 "mockery/mockery" : " ^1.3"
2525 },
2626 "autoload" : {
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"
3+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ colors =" true"
6+ verbose =" true" >
37 <coverage >
48 <include >
59 <directory suffix =" .php" >src/</directory >
610 </include >
11+ <report >
12+ <clover outputFile =" build/logs/clover.xml" />
13+ </report >
714 </coverage >
815 <testsuites >
916 <testsuite name =" Laravel Upload Handler Test Suite" >
1017 <directory >tests</directory >
1118 </testsuite >
1219 </testsuites >
1320 <logging >
14- <log type =" tap" target =" build/report.tap" />
15- <log type =" junit" target =" build/report.junit.xml" />
16- <log type =" coverage-text" target =" build/coverage.txt" />
17- <log type =" coverage-clover" target =" build/logs/clover.xml" />
21+ <junit outputFile =" build/report.junit.xml" />
22+ <text outputFile =" build/coverage.txt" />
1823 </logging >
1924</phpunit >
You can’t perform that action at this time.
0 commit comments