summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-09-02 16:12:43 -0400
committerKali Kaneko <kali@leap.se>2016-09-02 21:16:13 -0400
commit60fb1e6554775d1b22685f5b1eea04795c84a542 (patch)
tree0b7898da0d82d5c7eee1a5f49a1289fdb872793b /testing
parent6b283761de3a845d09de20fcc2b6a4a63130e45f (diff)
[tests] add pep8 in main tox run from within the gitlab script
add coverage reports too. (hereby we swear not to write stupid tests just because it feels good to have an increased coverage metric). - Resolves: #8416
Diffstat (limited to 'testing')
-rw-r--r--testing/tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index c1d7ddb7..fecd4c5b 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -2,9 +2,14 @@
envlist = py27
[testenv]
-commands = py.test {posargs}
+commands = py.test --cov-report=html \
+ --cov-report=term \
+ --cov=leap.soledad \
+ {posargs}
deps =
+ coverage
pytest
+ pytest-cov
pytest-twisted
pytest-benchmark
mock