diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36a30bc..d6225bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,9 +71,17 @@ jobs: - name: PHPUnit run: vendor/bin/phpunit --coverage-clover coverage.xml + --coverage-text + --log-junit junit.xml - name: Submit code coverage if: ${{ always() }} uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }}