File tree Expand file tree Collapse file tree 3 files changed +43
-3
lines changed Expand file tree Collapse file tree 3 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,19 @@ jobs:
8383 - name : Composer Install
8484 run : composer install --ansi --prefer-dist --no-interaction --no-progress
8585
86- - name : Run phpunit
87- if : matrix.php != '7.3'
86+ - name : Run phpunit 7.1 7.2
87+ if : matrix.php == '7.1' || matrix.php == '7.2'
88+ run : ./vendor/bin/phpunit -c phpunit.7.8.xml.dist --no-coverage
89+
90+ - name : Run phpunit 7.4 8.0
91+ if : matrix.php == '7.4' || matrix.php == '8.0'
8892 run : ./vendor/bin/phpunit -c phpunit.xml.dist --no-coverage
8993
90- - name : Run phpunit
94+ - name : Run phpunit 8.1 8.2 8.3 8.4
95+ if : matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'
96+ run : ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
97+
98+ - name : Run phpunit 7.3
9199 if : matrix.php == '7.3'
92100 run : ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/clover.xml
93101
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+ <php >
4+ <ini name =" error_reporting" value =" E_ALL" />
5+ </php >
6+ <testsuites >
7+ <testsuite name =" PhpWord Test Suite" >
8+ <directory >./tests/PhpWordTests</directory >
9+ </testsuite >
10+ </testsuites >
11+ <logging />
12+ </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" 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" >
3+ <php >
4+ <ini name =" error_reporting" value =" E_ALL" />
5+ </php >
6+ <testsuites >
7+ <testsuite name =" PhpWord Test Suite" >
8+ <directory >./tests/PhpWordTests</directory >
9+ </testsuite >
10+ </testsuites >
11+ <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 >
20+ </phpunit >
You can’t perform that action at this time.
0 commit comments