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:
4
tasks.py
4
tasks.py
@ -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)
|
||||
|
Reference in New Issue
Block a user