Skip to content

Commit e557053

Browse files
authored
Add codecov test analytics (#695)
1 parent 509e3c8 commit e557053

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,17 @@ jobs:
6262
run: uv sync --locked --dev
6363

6464
- name: Run pytest
65-
run: uv run --frozen pytest tests --cov=./ --cov-report=xml
65+
run: uv run --frozen pytest tests --cov=./ --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
6666

6767
- name: Upload coverage to Codecov
6868
uses: codecov/codecov-action@v5
6969
with:
7070
token: ${{ secrets.CODECOV_TOKEN }}
7171
fail_ci_if_error: true
72+
73+
- name: Upload test results to Codecov
74+
if: ${{ !cancelled() }}
75+
uses: codecov/test-results-action@v1
76+
with:
77+
token: ${{ secrets.CODECOV_TOKEN }}
78+
fail_ci_if_error: true

0 commit comments

Comments
 (0)