-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
MNT Exclude test files from the coverage report #14066
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs newline but LGTM
now there's an extra new line :) |
Ah coverage uses another globing pattern: https://coverage.readthedocs.io/en/v4.5.x/source.html#execution This could be
Ah I think we need to include these in |
Do we really want to exclude test files from coverage? Including it protects against typos ( |
I agree to keep these two files consistent. |
OK, let's keep them then. In any case, the advantage of removing them is very limited. |
As mentioned in #13984
this removes test files form the coverage report. As they are always run by definition, this inflates our coverage score somewhat.