Skip to content

Commit 05c9684

Browse files
authored
chore: refactor pytest-cov task to use bash script
Updated pytest-cov task to use a bash script for execution.
1 parent edecde1 commit 05c9684

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mise.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ run = "uv run pytest"
2020

2121
[tasks.pytest-cov]
2222
description = "Run Pytest with coverage"
23-
run = "uv run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=getjump tests/ | tee pytest-coverage.txt"
23+
run = """
24+
#!/usr/bin/env bash
25+
set -euxo pipefail
26+
uv run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=zutool tests/ | tee pytest-coverage.txt
27+
"""
2428

2529
[tasks.build]
2630
description = "Build"

0 commit comments

Comments
 (0)