From 109608e8c1051e8569f06f02f477412d16e4ef66 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 22 Mar 2017 11:24:42 +0100 Subject: 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" --- testing/tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testing/tox.ini') 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] -- cgit v1.2.3