Skip to content

Commit

Permalink
make sure coverage builds an XML file as .coverage is not supported b…
Browse files Browse the repository at this point in the history
…y codecov
  • Loading branch information
rgaudin committed Jun 7, 2024
1 parent ad215bb commit 7b09f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def report_cov(ctx: Context):
"""report coverage"""
ctx.run("coverage combine", warn=True, pty=use_pty)
ctx.run("coverage report --show-missing", pty=use_pty)
ctx.run("coverage xml", pty=use_pty)


@task(optional=["args"], help={"args": "pytest additional arguments"})
Expand Down

0 comments on commit 7b09f6e

Please sign in to comment.