From 7b09f6e09f83b3ff5dabe3c54ad4159e3d8cd233 Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Fri, 7 Jun 2024 16:22:53 +0000 Subject: [PATCH] make sure coverage builds an XML file as .coverage is not supported by codecov --- backend/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/tasks.py b/backend/tasks.py index ed5e6c0d..65e505e3 100644 --- a/backend/tasks.py +++ b/backend/tasks.py @@ -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"})