Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not run coverage by default #5312

Merged
merged 2 commits into from
Jun 16, 2024
Merged

Conversation

snejus
Copy link
Member

@snejus snejus commented Jun 15, 2024

Fixes #5242.

This PR moves coverage measurement from the default pytest invocation to a separate action test-with-coverage.

Copy link
Member

@bal-e bal-e left a comment

Choose a reason for hiding this comment

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

Looks great! Also, I just confirmed locally that -p no:cov is safe to pass to pytest even when pytest-cov isn't installed.

@snejus snejus merged commit 076ec6f into master Jun 16, 2024
13 checks passed
@snejus snejus deleted the do-not-run-coverage-by-default branch June 16, 2024 12:06
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.

Code coverage baked into setup.cfg breaks Gentoo Portage builds/testing
2 participants