Skip to content

Commit 9e324e1

Browse files
committed
PYTHON-5753 Simplify test-coverage recipe now that USE_ACTIVE_VENV is supported
1 parent 369a209 commit 9e324e1

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

justfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,9 @@ integration-tests:
8484

8585
[group('test')]
8686
test-coverage *args="":
87-
#!/usr/bin/env bash
88-
set -euo pipefail
89-
if [ -n "${USE_ACTIVE_VENV:-}" ]; then
90-
# When USE_ACTIVE_VENV is set, run coverage directly in the active venv
91-
uv run --active --extra test --group coverage python -m coverage run -m pytest {{args}}
92-
uv run --active --group coverage python -m coverage report
93-
else
94-
# Otherwise use the standard Evergreen workflow
95-
just setup-tests --cov
96-
just run-tests {{args}}
97-
just coverage-report
98-
fi
87+
just setup-tests --cov
88+
just run-tests {{args}}
89+
just coverage-report
9990

10091
[group('coverage')]
10192
coverage-report:

0 commit comments

Comments
 (0)