diff options
author | varac <varacanero@zeromail.org> | 2017-03-22 11:24:42 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-04-03 15:17:01 +0200 |
commit | 109608e8c1051e8569f06f02f477412d16e4ef66 (patch) | |
tree | a94280140017e4d7e34e94c9915a54652982b4b3 /testing/tox.ini | |
parent | 6067f8c001d524d29ccc4287a5f2efec90fa5004 (diff) |
Post benchmark results to elastticsearch
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.ini | 5 |
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] |