diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45a9f5f..4ddde06 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,7 +71,17 @@ jobs: - name: PHPUnit run: vendor/bin/phpunit --coverage-clover coverage.xml + --log-junit junit.xml - - name: Submit code coverage - if: ${{ always() }} - uses: codecov/codecov-action@v5 + - name: Upload coverage reports to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@v6 + with: + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload test reports to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@v6 + with: + token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results