summaryrefslogtreecommitdiff
path: root/testing/tox.ini
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-03-22 11:24:42 +0100
committerdrebs <drebs@leap.se>2017-03-31 21:54:28 +0200
commit358c4dfbc2e4845b08a7ac75dcf43bbd8d4e8a05 (patch)
treea83927a2507c87b344ea535a019a68cc17af075c /testing/tox.ini
parent6067f8c001d524d29ccc4287a5f2efec90fa5004 (diff)
Post benchmark results to elastticsearchbenchmark_elasticsearch
In order to do this from CI, please create a secret variable (at i.e. https://0xacab.org/varac/soledad/settings/ci_cd) called PYTEST_OPTS and use this example: --benchmark-autosave --benchmark-storage="elasticsearch+https://USER:PASSWORD@moose.leap.se:9200"
Diffstat (limited to 'testing/tox.ini')
-rw-r--r--testing/tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index d959db0a..d800d988 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -62,7 +62,10 @@ install_command = pip3 install {opts} {packages}
[testenv:benchmark]
deps =
{[testenv]deps}
- pytest-benchmark
+ #pytest-benchmark>=3.1.0a2
+ git+https://github.com/drebs/pytest-benchmark.git@use-netrc-file
+ elasticsearch
+ certifi
commands = py.test --benchmark-only {posargs}
[testenv:code-check]