-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (24 loc) · 743 Bytes
/
tox.ini
File metadata and controls
27 lines (24 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[tox]
envlist = py27,py36,py37,coverage
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/tests/requirements.txt
# hapi/release/test_run_pb2.py and hapi/release/test_suite_pb2.py are ignored
# because their test classes can't be collected by pytest and raise warnings.
commands =
coverage erase
pytest \
--ignore=hapi/release/test_run_pb2.py \
--ignore=hapi/release/test_suite_pb2.py \
--cov=pyhelm \
--cov=hapi \
--cov-report=
[testenv:coverage]
commands =
coverage report
coverage xml -o {toxworkdir}/coverage.xml
coverage html -d {toxworkdir}/htmlcov
[flake8]
ignore=E302,H306
exclude= libgit2-0.24.0, .git, .idea, .tox, *.egg-info, *.eggs, bin, dist, hapi