We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cae1cd commit becb962Copy full SHA for becb962
1 file changed
tox.ini
@@ -9,12 +9,15 @@ envlist =
9
description = Running tests in the corresponding environment
10
passenv = *
11
deps =
12
+ coverage
13
-rrequirements.txt
14
-rrequirements.dev.txt
15
16
commands =
17
{envpython} -m pytest
18
19
+
20
21
[testenv:unit]
22
description = Running UNIT tests in the corresponding environment
23
@@ -35,10 +38,16 @@ commands =
35
38
basepython =
36
39
python3.8
37
40
- {envpython} -m pytest \
- --cov-report term \
- --cov-report html \
41
- --cov
+ coverage run -m pytest
42
+# --cov-report term \
43
+# --cov-report html \
44
+# --cov
45
+ coverage xml
46
47
+[coverage:run]
48
+relative_files = True
49
+source = ted_sws/
50
+branch = True
51
52
[pytest]
53
log_cli = true
0 commit comments