summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 88b595d4fc116c90a1e38c196b65e27684f89abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
skipsdist=True
envlist = py3

[testenv]
distribute = False
commands =
    - cat /etc/hosts
    /bin/bash test/functest/scripts/start-simulators.sh
    coverage run --module pytest --junitxml xunit-results.xml
    coverage xml --omit=".tox/py3/*","test/*"
    coverage report -m --omit=".tox/py3/*","test/*"
    /bin/bash test/functest/scripts/stop-simulators.sh
    # TODO: need to update the above "omit" when we package osdf as pip-installable
deps = -r{toxinidir}/requirements.txt 
    -r{toxinidir}/test/test-requirements.txt

[run]
source=./osdf/,osdfapp.py

[testenv:py3]
basepython=python3.6