Skip to content

Commit 752146a

Browse files
authored
Make pytest emit XML coverage (#673)
This patch should make GHA report coverage to codecov properly.
1 parent 2a9db3a commit 752146a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps =
1111
# NOTE: `{envpython} -m pytest` because it'd add CWD into $PYTHONPATH
1212
# NOTE: testing the project from the Git checkout
1313
# NOTE: rather than one installed.
14-
commands = pytest --cov=proxy tests/ {posargs:}
14+
commands = pytest --cov=proxy --cov-report=xml tests/ {posargs:}
1515

1616

1717
[dists]

0 commit comments

Comments
 (0)