-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Code coverage baked into setup.cfg breaks Gentoo Portage builds/testing #5242
Comments
The latest |
Just tested, I still need to run the I note that
|
I see. I can think of a few potential solutions here:
I think the best way forward is to implement (2) while filing an issue on |
@Serene-Arc can I ask for your opinion here? I want to make a PR which moves the current behavior of |
@snejus would be the one to talk to, he was just changing that part of the GH actions |
Hi @Kangie! Apologies that this broke Gentoo portage builds. There's no reason to have the coverage running be default. I think I'd find more reasons why it should not run by default: it does not just break your builds, but it's also in the way of testing the project locally, since coverage calculation across such a large project adds a significant delay to tests.
@bal-e completely agree with you. I'm glad you're on the same page regarding the solution - this is exactly how I considered going about it. Let me hack a quick PR with the above. |
Thanks @snejus! Ping me if you want a review on the PR (though I don't think it's necessary, the change should be a few lines at the most). |
See #5312 |
Problem
Code coverage baked into
setup.cfg
/pytest in 8b4983fresults in Gentoo's portage builds being unable to initialise tests as Gentoo pytest configuration disables code coverage due to irrelevance to our use case.
I can work around this by
sed
ing out the pytest options, but there's probably a better way to resolve this permanently.Setup
The text was updated successfully, but these errors were encountered: