test: Add xml output to invoke test execution

This commit is contained in:
Jon Grace-Cox
2025-01-11 17:54:19 -05:00
parent 3413c6d474
commit d02eb1608d

View File

@@ -38,7 +38,8 @@ def local(c):
retval = 0
try:
subprocess.run(
f"{sys.executable} -m pytest --doctest-modules --cov=anybadge --cov-report html:htmlcov anybadge tests",
f"{sys.executable} -m pytest --doctest-modules "
"--cov=anybadge --cov-report term --cov-report html:htmlcov --cov-report xml:coverage.xml anybadge tests",
shell=True,
)
except Exception as e: