Skip to content

Fix code coverage with pytest-xdist#6

Closed
AndreFCruz wants to merge 1 commit intocode-coverage-with-xdistfrom
cursor/fix-code-coverage-with-pytest-xdist-6011
Closed

Fix code coverage with pytest-xdist#6
AndreFCruz wants to merge 1 commit intocode-coverage-with-xdistfrom
cursor/fix-code-coverage-with-pytest-xdist-6011

Conversation

@AndreFCruz
Copy link
Owner

Fixes inaccurate code coverage reports in CI when using pytest-xdist.

The previous configuration did not correctly merge coverage data from parallel test runs or properly map source files when the package was installed within tox virtual environments, leading to 0% coverage. This PR configures coverage.py to handle parallel data collection and correctly identify source paths.


Open in Cursor Open in Web

…ettings

Co-authored-by: andrecruz97 <andrecruz97@gmail.com>
@cursor
Copy link

cursor bot commented Aug 19, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@AndreFCruz AndreFCruz closed this Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants