Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ jobs:
run: |
python3 scripts/check-coverage.py --threshold 80 --results-dir "${{ github.workspace }}/TestResults"

# `--collect:"XPlat Code Coverage"` (coverlet.collector) writes one
# coverage.cobertura.xml per test project under TestResults/<guid>/.
# Non-blocking: a Codecov outage must not break CI.
- name: Upload coverage to Codecov
# codecov/codecov-action v6.0.1
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
with:
fail_ci_if_error: false
flags: unittests
directory: ${{ github.workspace }}/TestResults
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v7
Expand Down
Loading