diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index fec6de7..eb71549 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -26,6 +26,7 @@ jobs: coverage: false dependency-versions: 'lowest' tools: 'composer:v2' + phpunit-config: 'phpunit-9.xml.dist' env: SYMFONY_DEPRECATIONS_HELPER: disabled @@ -108,10 +109,10 @@ jobs: run: composer bootstrap-test-environment - name: Execute unit test cases - run: composer test -- Tests/Unit --coverage-php var/coverage.php --coverage-html coverage-report --log-junit var/junit.xml + run: composer test -- Tests/Unit --coverage-php var/coverage.php --coverage-html coverage-report --log-junit var/junit.xml --config ${{ matrix.phpunit-config || 'phpunit.xml.dist' }} - name: Execute functional test cases - run: composer test -- Tests/Functional --log-junit var/junit.xml + run: composer test -- Tests/Functional --log-junit var/junit.xml --config ${{ matrix.phpunit-config || 'phpunit.xml.dist' }} - name: Check code coverage if: ${{ matrix.coverage }} diff --git a/phpunit-9.xml.dist b/phpunit-9.xml.dist new file mode 100644 index 0000000..c451f89 --- /dev/null +++ b/phpunit-9.xml.dist @@ -0,0 +1,21 @@ + + + + + Tests + + + + + + . + + vendor + + + + + + + + diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c451f89..8f04843 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,20 +2,23 @@ - Tests + ./Tests - - - . - - vendor - - - - + + + + + ./ + + + Resources/ + Tests/ + vendor/ + +