diff --git a/noxfile.py b/noxfile.py index 68a807818..412c81dec 100644 --- a/noxfile.py +++ b/noxfile.py @@ -98,7 +98,7 @@ def unit_tests(session: Session) -> None: session.install(".") # disable color output in GitHub Actions env = {"TERM": "dumb"} if os.getenv("CI") == "true" else None - cmd = "pytest --log-level=DEBUG --cov=cachi2 --cov-config=pyproject.toml --cov-report=term --cov-report=html --no-cov-on-fail tests/unit" + cmd = "pytest --log-level=DEBUG --cov=cachi2 --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml --no-cov-on-fail tests/unit" session.run(*cmd.split(), *session.posargs, env=env)