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
Cython coverage #49
Cython coverage #49
Conversation
Codecov Report
@@ Coverage Diff @@
## master #49 +/- ##
===========================================
- Coverage 100.00% 94.88% -5.12%
===========================================
Files 2 7 +5
Lines 9 1017 +1008
Branches 0 53 +53
===========================================
+ Hits 9 965 +956
- Misses 0 52 +52
Continue to review full report at Codecov.
|
@cmccully - It works! See the coverage report here: |
Wow! Awesome! |
Can we add the c files somehow? |
In theory yes, with |
Yes, it works (I was defining CFLAGS in two places, that wasn't good :)) |
That's awesome!! |
This looks great. Are we ready to merge? |
Happy to see this working, it will be useful for other projects :) |
Yep, it's good to go! |
Fix #30.
To get the Cython coverage, we need a "develop" build.
Also I moved the
linetrace
andprofile
directives, as well as definition ofCYTHON_TRACE=1
, to be optional since it can have a performance impact for normal builds. So this is activated in thesetup.py
by setting theCOVERAGE
env var.Refs:
https://medium.com/@dfdeshom/better-test-coverage-workflow-for-cython-modules-631615eb197a
http://blog.behnel.de/posts/coverage-analysis-for-cython-modules.html