Add a http performance test script based on wrk
[iec.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index f2f331f..0e89eb8 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,9 +8,12 @@
 [tox]
 minversion = 1.6
 envlist =
-    docs,
-    docs-linkcheck
+  docs,
+  docs-linkcheck,
+  coala,
 skipsdist = true
+passenv = TOX_WORK_DIR
+toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
 
 [testenv:docs]
 deps = -rdocs/requirements.txt
@@ -22,3 +25,16 @@ whitelist_externals = echo
 [testenv:docs-linkcheck]
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[testenv:coala]
+basepython = python3
+install_command = python -m pip install --no-cache-dir {opts} {packages}
+whitelist_externals = rm
+deps =
+    coala
+    coala-bears
+    pygments~=2.3.1
+    requests~=2.21.0
+commands =
+    rm -rf src/use_cases/seba_on_arm/src_repo/
+    coala --non-interactive