From 03acc6ecff6343d7674ae7f05e0c2560c6de04f5 Mon Sep 17 00:00:00 2001 From: katia-sentry Date: Sun, 13 Apr 2025 17:34:12 -0400 Subject: [PATCH] Enable basic Codecov Test Analytics with JUnit XML upload --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 53601a1..5795a25 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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