Skip to content

Commit

Permalink
Ship test results to codecov for analysis too
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSchubert committed Jan 26, 2025
1 parent 1734948 commit 5969fc6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
report:
runs-on: ubuntu-latest
needs: test
if: always()
if: "!cancelled()"

steps:
- name: Check out repository
Expand All @@ -169,6 +169,13 @@ jobs:
- name: Generate summary
run: python .github/scripts/summary.py reports/*.xml > "${GITHUB_STEP_SUMMARY}"

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
files: reports/*.xml
token: ${{ secrets.CODECOV_TOKEN }}

coverage:
runs-on: ubuntu-latest
needs: test
Expand Down

0 comments on commit 5969fc6

Please sign in to comment.