Merge pull request #2659 from alicevision/ci/codecov-tests

[ci] Codecov: enable support for test run reports
This commit is contained in:
Vivek 2025-02-03 10:41:41 +05:30 committed by GitHub
commit 910736b3d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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