add test analytics

This commit is contained in:
sigma67 2024-12-19 16:53:15 +01:00
commit f7574237be
2 changed files with 7 additions and 3 deletions

View file

@ -44,9 +44,13 @@ jobs:
pdm run pytest
pdm run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
file: coverage.xml
flags: unittests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}