Skip to content

Commit

Permalink
nox: Fix uploading coverage report to codecov
Browse files Browse the repository at this point in the history
Generate forgotten xml file that codecov used for uploading coverage.

Signed-off-by: Michal Šoltis <[email protected]>
  • Loading branch information
slimreaper35 committed Dec 11, 2024
1 parent 2967fdb commit a5f19c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit a5f19c6

Please sign in to comment.