Functest scripts, simulators, and payloads
[optf/osdf.git] / tox.ini
1
2 [tox]
3 skipsdist=True
4 envlist = py3
5
6 [testenv]
7 distribute = False
8 commands =
9     /bin/bash test/functest/scripts/start-simulators.sh
10     coverage run --module pytest --junitxml xunit-results.xml
11     coverage xml --omit=".tox/py3/*","test/*"
12     coverage report -m --omit=".tox/py3/*","test/*"
13     /bin/bash test/functest/scripts/stop-simulators.sh
14     # TODO: need to update the above "omit" when we package osdf as pip-installable
15 deps = -r{toxinidir}/requirements.txt 
16     -r{toxinidir}/test/test-requirements.txt
17
18 [run]
19 source=./osdf/,osdfapp.py
20
21 [testenv:py3]
22 basepython=python3.6