use xml for coverage info
This commit is contained in:
parent
9839f64717
commit
af53add1ba
|
|
@ -281,7 +281,9 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
flag-name: backend
|
||||
parallel: true
|
||||
file: coverage.xml
|
||||
git-commit: ${{ github.sha }}
|
||||
git-branch: ${{ github.ref }}
|
||||
|
||||
postgres:
|
||||
name: Tests - DB [PostgreSQL]
|
||||
|
|
@ -514,7 +516,8 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
flag-name: pui
|
||||
parallel: true
|
||||
git-commit: ${{ github.sha }}
|
||||
git-branch: ${{ github.ref }}
|
||||
|
||||
platform_ui_build:
|
||||
name: Build - UI Platform
|
||||
|
|
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue