diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index 9a65028..546e9bf 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -24,6 +24,7 @@ jobs: php-extensions: 'ctype, iconv, mysql, imagick' tools: 'composer:v2' lint: false + phpunit-config: 'phpunit-9.xml.dist' env: SYMFONY_DEPRECATIONS_HELPER: weak @@ -101,5 +102,5 @@ jobs: env: ${{ matrix.env }} - name: Execute test cases - run: time composer test + run: time composer test -- --config ${{ matrix.phpunit-config || 'phpunit.xml.dist' }} env: ${{ matrix.env }} diff --git a/phpunit-9.xml.dist b/phpunit-9.xml.dist new file mode 100644 index 0000000..4499251 --- /dev/null +++ b/phpunit-9.xml.dist @@ -0,0 +1,23 @@ + + + + + + Tests/ + + + + + + ./ + + + + + + + diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4499251..a9e51bd 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -6,11 +6,22 @@ bootstrap="Tests/bootstrap.php" > - - Tests/ + + ./Tests + + + . + + Resources/ + Tests/ + vendor/ + + + + ./ @@ -18,6 +29,7 @@ +