summaryrefslogtreecommitdiff
path: root/testing/tox.ini
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-11-17 22:14:51 -0200
committerVictor Shyba <victor1984@riseup.net>2016-11-18 16:15:47 -0300
commitd2c29c8cd0e20d90f88c182b5b6f979109a07bb4 (patch)
tree5059bed98b3f713c5b3da3d03000ba1f2c22ffac /testing/tox.ini
parent2458336f0bc1828a90e36b58b18a598a38f7c81a (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 = ..