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
Fix generation of coverage for c++ code #1617
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1617 +/- ##
===========================================
- Coverage 95.31% 70.09% -25.23%
===========================================
Files 36 66 +30
Lines 2969 8902 +5933
Branches 445 3008 +2563
===========================================
+ Hits 2830 6240 +3410
- Misses 67 1041 +974
- Partials 72 1621 +1549
Continue to review full report at Codecov.
|
Well, something's working, although it looks a bit weird :). |
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.
I can only assume this is part of @betatim's master plan.
So it seems like Compare for example: https://codecov.io/gh/dib-lab/khmer/tree/32fcf25137937de2dc52d214724f87312434c51a and https://codecov.io/gh/dib-lab/khmer/pull/1617/tree one of them ignores all the files that aren't |
@@ -136,6 +136,7 @@ clean: FORCE | |||
rm -f diff-cover.html | |||
rm -Rf build dist | |||
rm -rf __pycache__/ .eggs/ khmer.egg-info/ | |||
-rm *.gcov |
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.
Is there a better way to pattern match these files that has less potential for accidentally deleting stuff that it shouldn't at some point in the future?
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.
The risk for inadvertently destroying unrelated files is extremely low.
If someone can think of a nicer |
Addresses #1511 (comment) where @ctb noticed that we do not generate coverage for c++ code anymore.
make test
Did it pass the tests?