diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f0bf10b..427efccc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,9 +99,15 @@ jobs: run: php ./tools/composer update --no-ansi --no-interaction --no-progress - name: Run tests with PHPUnit - run: vendor/bin/phpunit --coverage-clover=coverage.xml + run: vendor/bin/phpunit --log-junit junit.xml --coverage-clover=coverage.xml - - name: Send code coverage report to Codecov.io + - name: Upload test results to Codecov.io + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload code coverage data to Codecov.io uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}