R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / tox.ini
1 [tox]
2 envlist = py27,py36,py37,py38,cov
3 skip_missing_interpreters = true
4
5 [testenv]
6 # coverage can only find modules if pythonpath is set
7 setenv=
8     PYTHONPATH={toxinidir}
9     COVERAGE_FILE=.coverage.{envname}
10 deps=
11     -rrequirements.txt
12     pytest
13     coverage
14     pytest-cov
15 commands=
16     coverage erase
17     pytest --junitxml xunit-results.{envname}.xml --cov configure --cov k8sclient --cov k8splugin
18
19 [testenv:cov]
20 skip_install = true
21 deps=
22     coverage
23 setenv=
24     COVERAGE_FILE=.coverage
25 commands=
26     coverage combine
27     coverage xml
28     coverage report
29     coverage html
30
31 [pytest]
32 junit_family = xunit2