-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add cov-dev makefile target #5576
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5576 +/- ##
=======================================
Coverage 97.21% 97.21%
=======================================
Files 41 41
Lines 8863 8863
Branches 1425 1425
=======================================
Hits 8616 8616
Misses 130 130
Partials 117 117
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Makefile
Outdated
.PHONY: cov-dev | ||
cov-dev: .develop | ||
@pytest --cov-report=html | ||
@echo "open file://`pwd`/htmlcov/index.html" |
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.
This is macOS-only. There should be a fallback to xdg-open
for GNU/Linux if we want this to be useful in general.
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.
fixed
What do these changes do?
Add
cov-dev
target to makefile to run tests with coverage on dev host. Was removed in #5145, but stayed in docs. Just thought it's useful because now there is no way to get coverage except explicit pytest runAre there changes in behavior for the user?
No.
Related issue number
#5145
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.