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

Code coverage: ignore experimental and visualization #2361

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

Corvince
Copy link
Contributor

As raised by @EwoutH frequent failing codecov tests can easily lead to missing other test failures.

This PR fixes the "experimental" ignore, because we can be more lenient with experimental features and introduces a "visualization" ignore. Code coverage is mostly meaningful for unit tests, but unit testing visualization code is not always helpful. We still should do something about testing our visualization, but this should primarily aim at integration tests, not unit tests.

Copy link
Member

@EwoutH EwoutH left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

When the examples get merged I should probably also add "examples/**", right?

@Corvince Corvince merged commit bd16878 into main Oct 15, 2024
10 checks passed
@Corvince Corvince deleted the Corvince-patch-1 branch October 15, 2024 12:10
@Corvince
Copy link
Contributor Author

Thanks for fixing this!

When the examples get merged I should probably also add "examples/**", right?

No, I think once the examples are merged we should include running them in the CI as soon as possible. And once they are run they should also be covered. If some lines are not covered than we probably need to fix the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Release notes label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants