[ci] Codecov: enable support for test run reports

This commit is contained in:
Yann Lanthony 2025-01-28 16:27:47 +01:00
parent e51bb93bf0
commit 0f1cde127b

View file

@ -53,11 +53,16 @@ jobs:
- name: Test with pytest
run: |
pytest tests/
pytest --cov --cov-report=xml
pytest --cov --cov-report=xml --junitxml=junit.xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
build-windows:
runs-on: windows-latest