Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Šoltis <[email protected]>
  • Loading branch information
slimreaper35 committed Dec 10, 2024
1 parent d45280c commit 1a9abd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ def unit_tests(session: Session) -> None:
"""Run unit tests and generate coverage report."""
install_requirements(session)
session.install(".")
env = {"TERM": "dumb"}
cmd = "pytest --log-level=DEBUG --cov=cachi2 --cov-config=pyproject.toml --cov-report=term --cov-report=html --no-cov-on-fail tests/unit"
session.run(*cmd.split(), *session.posargs)
session.run(*cmd.split(), *session.posargs, env=env)


@nox.session(name="coverage-html")
Expand Down

0 comments on commit 1a9abd9

Please sign in to comment.