summaryrefslogtreecommitdiff
path: root/testing/tox.ini
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-11-17 22:14:51 -0200
committerdrebs <drebs@leap.se>2016-12-12 09:13:09 -0200
commit5294f5b9ae01429e6d0ee75c8dc98441ba760845 (patch)
treec61a11b22a8b1c9d51d1aabc79113b32c123fba8 /testing/tox.ini
parent3e74de6208c22643b1c063b70d22d352c0409703 (diff)
[test] use tags for selecting benchmark tests
Diffstat (limited to 'testing/tox.ini')
-rw-r--r--testing/tox.ini9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index d84566ca..f6470c89 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -4,10 +4,11 @@ skipsdist=True
[testenv]
basepython = python2.7
-commands = py.test --cov-report=html \
+commands = py.test -m "not perf" \
+ --cov-report=html \
--cov-report=term \
- --cov=leap.soledad \
- {posargs}
+ --cov=leap.soledad \
+ {posargs}
usedevelop = True
deps =
coverage
@@ -34,7 +35,7 @@ install_command = pip install {opts} {packages}
deps =
{[testenv]deps}
pytest-benchmark
-commands = py.test tests/perf {posargs}
+commands = py.test -m perf {posargs}
[testenv:code-check]
changedir = ..