diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b403e57d8a..016120d913 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -89,7 +89,7 @@ jobs: - name: Run phpunit 7.4 8.0 if: matrix.php == '7.4' || matrix.php == '8.0' - run: ./vendor/bin/phpunit -c phpunit.xml.dist --no-coverage + run: ./vendor/bin/phpunit -c phpunit9.xml.dist --no-coverage - name: Run phpunit 8.1 8.2 8.3 8.4 if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4' @@ -97,7 +97,7 @@ jobs: - name: Run phpunit 7.3 if: matrix.php == '7.3' - run: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/clover.xml + run: ./vendor/bin/phpunit -c phpunit9.xml.dist --coverage-clover build/clover.xml - name: Upload coverage results to Coveralls if: matrix.php == '7.3' diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ff0c676fad..b97fbee3fb 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,17 +1,5 @@ - - - - ./src - - - ./src/PhpWord/Shared/PCLZip - - - + @@ -21,4 +9,12 @@ + + + ./src + + + ./src/PhpWord/Shared/PCLZip + + diff --git a/phpunit9.xml.dist b/phpunit9.xml.dist new file mode 100644 index 0000000000..ff0c676fad --- /dev/null +++ b/phpunit9.xml.dist @@ -0,0 +1,24 @@ + + + + + ./src + + + ./src/PhpWord/Shared/PCLZip + + + + + + + + + ./tests/PhpWordTests + + + +