Skip to content

Commit c989935

Browse files
ajay-sentryclin1234
authored andcommitted
Add Codecov Test Analytics (pydantic#1684)
1 parent 95b0ef7 commit c989935

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 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,10 @@ jobs:
5555
with:
5656
files: codecov.json
5757

58+
- uses: codecov/test-results-action@v1
59+
60+
# See https://github.com/PyO3/pyo3/discussions/2781
61+
# tests intermittently segfault with pypy and cpython 3.7 when using `coverage run ...`, hence separate job
5862
test-python:
5963
name: test ${{ matrix.python-version }}
6064
strategy:

0 commit comments

Comments
 (0)