Skip to content

Commit e20b74e

Browse files
authored
Add Codecov Test Analytics (#1684)
1 parent 5c56fde commit e20b74e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- run: uv pip freeze
4444

45-
- run: uv run coverage run -m pytest
45+
- run: uv run coverage run -m pytest --junitxml=junit.xml -o junit_family=legacy
4646

4747
- run: ls -lha
4848
- run: uv run coverage xml
@@ -55,6 +55,8 @@ jobs:
5555
with:
5656
files: codecov.json
5757

58+
- uses: codecov/test-results-action@v1
59+
5860
# See https://github.com/PyO3/pyo3/discussions/2781
5961
# tests intermittently segfault with pypy and cpython 3.7 when using `coverage run ...`, hence separate job
6062
test-python:

0 commit comments

Comments
 (0)