Code Review
/
dcaegen2
/
platform
/
plugins.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5b750e31dfcfcc704e3652b213483f2cb894194c
[dcaegen2/platform/plugins.git]
/
k8s
/
tox.ini
1
[tox]
2
envlist = py27,py36,cov
3
4
[testenv]
5
# coverage can only find modules if pythonpath is set
6
setenv=
7
PYTHONPATH={toxinidir}
8
COVERAGE_FILE=.coverage.{envname}
9
deps=
10
-rrequirements.txt
11
pytest
12
coverage
13
pytest-cov
14
commands=
15
coverage erase
16
pytest --junitxml xunit-results.{envname}.xml --cov configure --cov k8sclient --cov k8splugin
17
18
[testenv:cov]
19
skip_install = true
20
deps=
21
coverage
22
setenv=
23
COVERAGE_FILE=.coverage
24
commands=
25
coverage combine
26
coverage xml
27
28
[pytest]
29
junit_family = xunit2