Skip to content

Commit 85a1874

Browse files
committed
Use pytest-cov for coverage.
1 parent 0a0135b commit 85a1874

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ test-all:
3535
tox
3636

3737
coverage:
38-
coverage run --source pvl py.test
39-
coverage report -m
40-
coverage html
38+
py.test --cov pvl --cov-report html tests
4139
open htmlcov/index.html
4240

4341
docs:

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
# Install our development requirements
55
flake8
66
pytest
7+
pytest-cov
78
tox
89
wheel>=0.22

0 commit comments

Comments
 (0)