File tree Expand file tree Collapse file tree 3 files changed +35
-15
lines changed Expand file tree Collapse file tree 3 files changed +35
-15
lines changed Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ jobs:
8989
9090 - name : Run phpunit 7.4 8.0
9191 if : matrix.php == '7.4' || matrix.php == '8.0'
92- run : ./vendor/bin/phpunit -c phpunit .xml.dist --no-coverage
92+ run : ./vendor/bin/phpunit -c phpunit9 .xml.dist --no-coverage
9393
9494 - name : Run phpunit 8.1 8.2 8.3 8.4
9595 if : matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'
9696 run : ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
9797
9898 - name : Run phpunit 7.3
9999 if : matrix.php == '7.3'
100- run : ./vendor/bin/phpunit -c phpunit .xml.dist --coverage-clover build/clover.xml
100+ run : ./vendor/bin/phpunit -c phpunit9 .xml.dist --coverage-clover build/clover.xml
101101
102102 - name : Upload coverage results to Coveralls
103103 if : matrix.php == '7.3'
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" ./tests/bootstrap.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" convertDeprecationsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3- <coverage >
4- <include >
5- <directory suffix =" .php" >./src</directory >
6- </include >
7- <exclude >
8- <directory suffix =" .php" >./src/PhpWord/Shared/PCLZip</directory >
9- </exclude >
10- <!-- report>
11- <clover outputFile="./build/logs/clover.xml"/>
12- <html outputDirectory="./build/coverage"/>
13- </report-->
14- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" bootstrap =" ./tests/bootstrap.php" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
153 <php >
164 <ini name =" error_reporting" value =" E_ALL" />
175 </php >
219 </testsuite >
2210 </testsuites >
2311 <logging />
12+ <source >
13+ <include >
14+ <directory suffix =" .php" >./src</directory >
15+ </include >
16+ <exclude >
17+ <directory suffix =" .php" >./src/PhpWord/Shared/PCLZip</directory >
18+ </exclude >
19+ </source >
2420</phpunit >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" ./tests/bootstrap.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" convertDeprecationsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3+ <coverage >
4+ <include >
5+ <directory suffix =" .php" >./src</directory >
6+ </include >
7+ <exclude >
8+ <directory suffix =" .php" >./src/PhpWord/Shared/PCLZip</directory >
9+ </exclude >
10+ <!-- report>
11+ <clover outputFile="./build/logs/clover.xml"/>
12+ <html outputDirectory="./build/coverage"/>
13+ </report-->
14+ </coverage >
15+ <php >
16+ <ini name =" error_reporting" value =" E_ALL" />
17+ </php >
18+ <testsuites >
19+ <testsuite name =" PhpWord Test Suite" >
20+ <directory >./tests/PhpWordTests</directory >
21+ </testsuite >
22+ </testsuites >
23+ <logging />
24+ </phpunit >
You can’t perform that action at this time.
0 commit comments