Skip to content

Commit

Permalink
fix: point to the right file
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jan 24, 2024
1 parent 25c8a5d commit c23476b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ jobs:
- name: Run tests and collect coverage
run: pytest --cov app --junitxml=testresults.xml

- name: cat testresults.xml
run: cat testresults.xml

- name: Install CLI
run: pip install --no-cache-dir git+https://github.com/codecov/codecov-cli.git@joseph/test-results-staging
- name: Upload coverage to Codecov
run: codecovcli -v -u ${{ secrets.CODECOV_STAGING_API_URL }} do-upload --report-type test_results --file testresults.junit.xml
run: codecovcli -v -u ${{ secrets.CODECOV_STAGING_API_URL }} do-upload --report-type test_results --file testresults.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}

0 comments on commit c23476b

Please sign in to comment.