Permalink
Browse files

tests: tox: setup coverage

Signed-off-by: Florian Scherf <f.scherf@pengutronix.de>
  • Loading branch information...
fscherf authored and jluebbe committed Apr 6, 2018
1 parent c22594b commit 6ba1ac97541cbdd68d2389791379a7c30d4a4637
Showing with 4 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −1 tox.ini
@@ -16,3 +16,4 @@
/.coverage
/dist
/.pytest_cache/
/htmlcov/
@@ -4,7 +4,9 @@ envlist = py34, py35, py36
[testenv]
deps = -rdev-requirements.txt
commands =
pytest tests {posargs}
pytest tests {posargs} \
--cov={envsitepackagesdir}/labgrid \
--cov-report=html:htmlcov
[testenv:lint]
deps = -rdev-requirements.txt

0 comments on commit 6ba1ac9

Please sign in to comment.