Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tylerjereddy
Copy link
Contributor

@tylerjereddy tylerjereddy commented Aug 23, 2019

  • 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

Eric noticed this in #14310 (comment)

Clicking through our codecov badge it looks like pretty much all numpy.submodule namespaces are now completely ignored by codecov--the only files and folders I see showing up seem to be those that get fused in from gcov report files on compiled files! This simple fix is worth a try... seems to work for scikit-learn & seems to be more appropriate directive based on docs

* 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
@tylerjereddy
Copy link
Contributor Author

oy, codecov -- not sure what to make of that, but it doesn't let me click through

image

* try setting the coverage "source" directive
to the numpy repo root, based on reviewer feedback
in PR 14347
@rgommers
Copy link
Member

rgommers commented Sep 7, 2019

No change from this PR it seems, coverage is incomplete:

image

@mattip
Copy link
Member

mattip commented Sep 12, 2019

@tylerjereddy any ideas?

@mattip
Copy link
Member

mattip commented Oct 16, 2019

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.

@tylerjereddy
Copy link
Contributor Author

Yeah, it is strange. It stopped working for SciPy for other reasons & they weren't responsive to a polite inquiry either.

@charris
Copy link
Member

charris commented Dec 16, 2020

@tylerjereddy Should we close this?

@tylerjereddy
Copy link
Contributor Author

Sure, I'll close it--we have a contact on codecov team if there are residual issues with how it is behaving for NumPy.

@tylerjereddy tylerjereddy deleted the codecov_package branch December 16, 2020 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants