Skip to content

Commit

Permalink
refactor: Colorize pytest output
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jun 19, 2023
1 parent ea666ce commit 1d77983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/duties.py.jinja
Expand Up @@ -305,6 +305,6 @@ def test(ctx: Context, match: str = "") -> None:
py_version = f"{sys.version_info.major}{sys.version_info.minor}"
os.environ["COVERAGE_FILE"] = f".coverage.{py_version}"
ctx.run(
pytest.run("-n", "auto", "tests", config_file="config/pytest.ini", select=match),
pytest.run("-n", "auto", "tests", config_file="config/pytest.ini", select=match, color="yes"),
title=pyprefix("Running tests"),
)

0 comments on commit 1d77983

Please sign in to comment.