-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
TST, MAINT: include numpy package in .coveragerc #14347
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
* based on coveragepy docs and .coveragerc files in Python projects with more comprehensive codecov reports available (like scikit-learn), adjust .coveragerc to use the source directive to explicitly include the numpy package / namespace instead of using the include file selection directive
* try setting the coverage "source" directive to the numpy repo root, based on reviewer feedback in PR 14347
|
@tylerjereddy any ideas? |
|
Something happended to codecoverage reporting. If I go back to an older PR I can drill down into the files but at some stage that stopped working. |
|
Yeah, it is strange. It stopped working for SciPy for other reasons & they weren't responsive to a polite inquiry either. |
|
@tylerjereddy Should we close this? |
|
Sure, I'll close it--we have a contact on codecov team if there are residual issues with how it is behaving for NumPy. |


.coveragercfiles inPython projects with more comprehensive codecov reports
available (like scikit-learn), adjust
.coveragerctouse the
sourcedirective to explicitly include thenumpy package / namespace instead of using the
includefile selection directiveEric noticed this in #14310 (comment)
Clicking through our codecov badge it looks like pretty much all
numpy.submodulenamespaces are now completely ignored by codecov--the only files and folders I see showing up seem to be those that get fused in fromgcovreport files on compiled files! This simple fix is worth a try... seems to work forscikit-learn& seems to be more appropriate directive based on docs