Merge pull request #438 from r0fls/coverage

add coverage to tox
This commit is contained in:
Eli Uriegas 2017-02-17 07:01:14 -06:00 committed by GitHub
commit f12186d024
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = sanic, tests
omit = site-packages
source = sanic
omit = site-packages, sanic/utils.py
[html]
directory = coverage

View File

@ -14,10 +14,13 @@ deps =
aiohttp
pytest
beautifulsoup4
coverage
commands =
pytest tests {posargs}
coverage erase
coverage run -m sanic.sanic
coverage report
[testenv:flake8]
deps =