Add a http performance test script based on wrk
[iec.git] / tox.ini
1 ##############################################################################
2 # Copyright (c) 2019 Linux Foundation and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 [tox]
9 minversion = 1.6
10 envlist =
11   docs,
12   docs-linkcheck,
13   coala,
14 skipsdist = true
15 passenv = TOX_WORK_DIR
16 toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
17
18 [testenv:docs]
19 deps = -rdocs/requirements.txt
20 commands =
21     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
22     echo "Generated docs available in {toxinidir}/docs/_build/html"
23 whitelist_externals = echo
24
25 [testenv:docs-linkcheck]
26 deps = -rdocs/requirements.txt
27 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
28
29 [testenv:coala]
30 basepython = python3
31 install_command = python -m pip install --no-cache-dir {opts} {packages}
32 whitelist_externals = rm
33 deps =
34     coala
35     coala-bears
36     pygments~=2.3.1
37     requests~=2.21.0
38 commands =
39     rm -rf src/use_cases/seba_on_arm/src_repo/
40     coala --non-interactive