Add easy viewing of coverage html report
This commit is contained in:
parent
336585d258
commit
eadaf17d91
16
Makefile
16
Makefile
@ -25,8 +25,22 @@ upload-test: env
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -fr ./build ./dist ./minitor.egg-info
|
||||
rm -fr ./build ./minitor.egg-info ./htmlcov ./.coverage ./.pytest_cache ./.tox
|
||||
|
||||
.PHONY: dist-clean
|
||||
dist-clean: clean
|
||||
rm -fr ./dist
|
||||
|
||||
.PHONY: install-hooks
|
||||
install-hooks:
|
||||
tox -e pre-commit -- install -f --install-hooks
|
||||
|
||||
.coverage:
|
||||
tox
|
||||
|
||||
htmlcov/index.html: .coverage
|
||||
./env/bin/coverage html
|
||||
|
||||
.PHONY: open-coverage
|
||||
open-coverage: htmlcov/index.html
|
||||
open htmlcov/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user