Skip to content

Commit 25cdd69

Browse files
committed
test: Add xml output to invoke test execution
1 parent af9d06f commit 25cdd69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def local(c):
3838
retval = 0
3939
try:
4040
subprocess.run(
41-
f"{sys.executable} -m pytest --doctest-modules --cov=anybadge --cov-report html:htmlcov anybadge tests",
41+
f"{sys.executable} -m pytest --doctest-modules "
42+
"--cov=anybadge --cov-report term --cov-report html:htmlcov --cov-report xml:coverage.xml anybadge tests",
4243
shell=True,
4344
)
4445
except Exception as e:

0 commit comments

Comments
 (0)