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