We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5ef50 commit 16fbd71Copy full SHA for 16fbd71
tox.ini
@@ -11,27 +11,9 @@ commands =
11
pytest {posargs}
12
usedevelop = True
13
extras = testing
14
-setenv =
15
- COVERAGE_FILE={toxworkdir}/.coverage.{envname}
16
passenv =
17
windir # required for test_pkg_resources
18
19
-[testenv:coverage]
20
-description=Combine coverage data and create report
21
-deps=coverage
22
-skip_install=True
23
-changedir={toxworkdir}
24
-setenv=COVERAGE_FILE=.coverage
25
-commands=coverage erase
26
- coverage combine
27
- coverage {posargs:xml}
28
-
29
-[testenv:codecov]
30
-description=[Only run on CI]: Upload coverage data to codecov
31
-deps=codecov
32
33
-commands=codecov -X gcov --file {toxworkdir}/coverage.xml
34
35
[testenv:docs]
36
extras =
37
docs
0 commit comments