Skip to content

Commit 9b07842

Browse files
committed
tweak coverage command, ignore webapp/htmlcov
1 parent 85d8dc4 commit 9b07842

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ docs/_build
1717
storage
1818
webapp/coverage.xml
1919
webapp/.coverage
20+
webapp/htmlcov
2021
webapp/static
2122
webapp/static/**/*

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ setenv =
1515
passenv = TEST_MYSQL_* TEST_POSTGRESQL_*
1616
changedir = webapp
1717
commands =
18-
coverage run --branch --include=graphite/* manage.py test
18+
coverage run --branch --source=graphite manage.py test
1919
coverage xml
2020
coverage report
2121
deps =

0 commit comments

Comments
 (0)