2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

use xml for coverage info

This commit is contained in:
Matthias Mair
2024-04-04 00:24:14 +02:00
parent 9839f64717
commit af53add1ba
2 changed files with 9 additions and 2 deletions

View File

@ -55,6 +55,9 @@ def apps():
'users',
'plugin',
'InvenTree',
'generic',
'machine',
'web',
]
@ -862,6 +865,7 @@ def test(
# Run tests within coverage environment, and generate report
c.run(f'coverage run {managePyPath()} {cmd}')
c.run('coverage html -i')
c.run('coverage xml')
else:
# Run simple test runner, without coverage
manage(c, cmd, pty=pty)