Skip to content

Commit 910f409

Browse files
committed
Re-add HTML coverage
1 parent efb9198 commit 910f409

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup:
88
## Cleans test and packaging outputs.
99
.PHONY: clean
1010
clean:
11-
rm -rf .coverage build/ dist/
11+
rm -rf .coverage htmlcov/ build/ dist/
1212

1313
## Runs tests.
1414
.PHONY: test
@@ -18,7 +18,8 @@ test: clean
1818
## Creates coverage report.
1919
.PHONY: coverage
2020
coverage:
21-
pipenv run pytest --cov=src/ --cov-report=term-missing --disable-warnings
21+
pytest --cov=src/ --cov-report=term-missing --cov-report=html --disable-warnings
22+
open htmlcov/index.html || xdg-open htmlcov/index.html
2223

2324
.DEFAULT:
2425
@$(MAKE) help

0 commit comments

Comments
 (0)