From 9b07842c3d7d209e963fdf2f97be65a42616c5d1 Mon Sep 17 00:00:00 2001 From: Dan Cech Date: Mon, 4 Dec 2017 17:07:43 -0500 Subject: [PATCH] tweak coverage command, ignore webapp/htmlcov --- .gitignore | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4a4e6d901..890980e76 100644 --- a/.gitignore +++ b/.gitignore @@ -17,5 +17,6 @@ docs/_build storage webapp/coverage.xml webapp/.coverage +webapp/htmlcov webapp/static webapp/static/**/* diff --git a/tox.ini b/tox.ini index 92d2ccfea..62c54e4ba 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ setenv = passenv = TEST_MYSQL_* TEST_POSTGRESQL_* changedir = webapp commands = - coverage run --branch --include=graphite/* manage.py test + coverage run --branch --source=graphite manage.py test coverage xml coverage report deps =