From fbb2344895ce45f8de30cc20b91e3ac5149ffdc7 Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Thu, 10 Aug 2017 07:55:38 -0700 Subject: [PATCH 1/2] fix cov report --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index dcebb05035..4c69cbaae1 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,9 @@ deps = beautifulsoup4 gunicorn commands = - pytest tests --cov sanic --cov-report term-missing {posargs} + pytest tests --cov sanic --cov-report= {posargs} + coverage combine --append + coverage report -m [testenv:flake8] deps = From 756bd191810df48341f95e234ace411c763833ba Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Thu, 10 Aug 2017 08:39:02 -0700 Subject: [PATCH 2/2] do not fail if no files for coverage combine --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4c69cbaae1..ff43a139db 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ deps = gunicorn commands = pytest tests --cov sanic --cov-report= {posargs} - coverage combine --append + - coverage combine --append coverage report -m [testenv:flake8]