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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- run: uv pip freeze

- run: uv run coverage run -m pytest
- run: uv run coverage run -m pytest --junitxml=junit.xml -o junit_family=legacy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering: why can't Codecov read the "normal" coverage output file and needs a junitxml output?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting back, the JunitXML is needed to actually do the test analysis, because the normal coverage output file doesn't give us any test-specific information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Viicos just wanted to bump this


- run: ls -lha
- run: uv run coverage xml
Expand All @@ -55,6 +55,8 @@ jobs:

- uses: codecov/codecov-action@v5

- uses: codecov/test-results-action@v1

# See https://github.com/PyO3/pyo3/discussions/2781
# tests intermittently segfault with pypy and cpython 3.7 when using `coverage run ...`, hence separate job
test-python:
Expand Down
Loading