Skip to content

Commit 5d0a9d7

Browse files
committed
Makefile: add coverage target
1 parent 231431e commit 5d0a9d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ tests: test1 test2 test3 test4 test7 test8 test9 test10 clean
137137
ut: env-dev
138138
@. ${DEV_TEST_ENV}/bin/activate && tox -e py39
139139

140+
coverage: env-dev
141+
@. ${DEV_TEST_ENV}/bin/activate && \
142+
coverage run -p -m pytest && \
143+
coverage report -m && \
144+
coverage html
145+
140146
contributors:
141147
@echo "Nodeenv is written and maintained by Eugene Kalinin." > AUTHORS
142148
@echo "" >> AUTHORS

0 commit comments

Comments
 (0)