Skip to content

Commit 72aa14a

Browse files
committed
pytest coverage
1 parent 000820d commit 72aa14a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ clean:
2525
coverage: test_coverage
2626

2727
test_coverage:
28-
$(COVERAGE) run -m --source=./superannotate/ $(PYTESTS) -n 8
28+
$(PYTEST) --cov=superannotate -n 8
2929
$(COVERAGE) html
3030
@echo "\033[95m\n\nCoverage successful! View the output at file://htmlcov/index.html.\n\033[0m"
3131

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pip install -e .
1919
# pip install superannotate
2020

2121
# for testing
22-
pip install pytest pytest-xdist coverage
22+
pip install pytest pytest-xdist coverage pytest-cov
2323

2424
# for docs
2525
pip install sphinx sphinx_rtd_theme

0 commit comments

Comments
 (0)