Enable basic Codecov Test Analytics with JUnit XML upload

This commit is contained in:
katia-sentry 2025-04-13 17:34:12 -04:00 • committed by sigma67
commit 03acc6ecff

View file

@ -41,7 +41,7 @@ jobs:
curl -o tests/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3
cat <<< "$HEADERS_AUTH" > tests/browser.json
cat <<< "$TEST_CFG" > tests/test.cfg
pdm run pytest
pdm run pytest --junitxml=test-results.xml
pdm run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
@ -55,3 +55,4 @@ jobs:
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: test-results.xml