diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 06c80a3041e..b336207ee3e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -64,7 +64,7 @@ jobs: run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Execute tests (Unit and Feature tests) via PHPUnit - run: vendor/bin/pest --testdox-text testdox.txt + run: vendor/bin/pest --log-junit report.xml - name: Ping statistics server with test results run: | diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 8c495b0055d..8886847f0f4 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -25,7 +25,7 @@ jobs: run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Run smoke tests - run: vendor/bin/pest --stop-on-failure --testdox-text testdox.txt + run: vendor/bin/pest --stop-on-failure --log-junit report.xml - name: Ping statistics server with test results run: | @@ -59,7 +59,7 @@ jobs: run: echo "ENV=testing" > .env - name: Execute tests (Unit and Feature tests) via PHPUnit with coverage - run: vendor/bin/pest --coverage --coverage-clover clover.xml --testdox-text testdox.txt + run: vendor/bin/pest --coverage --coverage-clover clover.xml --log-junit report.xml - name: "Publish coverage report to Codecov" uses: codecov/codecov-action@v3 diff --git a/.github/workflows/test-pull-requests.yml b/.github/workflows/test-pull-requests.yml index b5cf6514dd9..88ca0ebce37 100644 --- a/.github/workflows/test-pull-requests.yml +++ b/.github/workflows/test-pull-requests.yml @@ -40,7 +40,7 @@ jobs: run: php hyde debug - name: Execute tests (Unit and Feature tests) via PHPUnit with coverage - run: vendor/bin/pest --coverage --coverage-text=build/coverage/report.txt --colors=always --coverage-clover build/coverage/clover.xml --coverage-cobertura build/coverage/cobertura.xml --coverage-crap4j build/coverage/crap4j.xml --coverage-xml build/coverage/coverage-xml --log-junit build/junit.xml --testdox-text testdox.txt + run: vendor/bin/pest --coverage --coverage-text=build/coverage/report.txt --colors=always --coverage-clover build/coverage/clover.xml --coverage-cobertura build/coverage/cobertura.xml --coverage-crap4j build/coverage/crap4j.xml --coverage-xml build/coverage/coverage-xml --log-junit build/junit.xml --log-junit report.xml env: ENV: testing @@ -72,7 +72,7 @@ jobs: run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Execute tests (Unit and Feature tests) via PHPUnit - run: vendor/bin/pest --testdox-text testdox.txt + run: vendor/bin/pest --log-junit report.xml - name: Ping statistics server with test results run: | diff --git a/monorepo/scripts/ping-openanalytics-testrunner.php b/monorepo/scripts/ping-openanalytics-testrunner.php index 2a06ba5bd59..7f3857aa399 100644 --- a/monorepo/scripts/ping-openanalytics-testrunner.php +++ b/monorepo/scripts/ping-openanalytics-testrunner.php @@ -5,7 +5,7 @@ * * @example php ping.php 'Monorepo Smoke Tests' ${{ secrets.OPENANALYTICS_TOKEN }} * - * @uses vendor/bin/pest --stop-on-failure --testdox-text testdox.txt + * @uses vendor/bin/pest --stop-on-failure --log-junit report.xml */ echo "Pinging statistics server\n";