Skip to content

Commit 50253a9

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver into PYTHON-5663
2 parents f99e92f + f813437 commit 50253a9

36 files changed

+693
-448
lines changed

.evergreen/scripts/setup-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ set -eu
1212
# TEST_CRYPT_SHARED If non-empty, install crypt_shared lib.
1313
# MONGODB_API_VERSION The mongodb api version to use in tests.
1414
# MONGODB_URI If non-empty, use as the MONGODB_URI in tests.
15+
# USE_ACTIVE_VENV If non-empty, use the active virtual environment.
1516

1617
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
1718

@@ -21,5 +22,5 @@ if [ -f $SCRIPT_DIR/env.sh ]; then
2122
fi
2223

2324
echo "Setting up tests with args \"$*\"..."
24-
uv run $SCRIPT_DIR/setup_tests.py "$@"
25+
uv run ${USE_ACTIVE_VENV:+--active} "$SCRIPT_DIR/setup_tests.py" "$@"
2526
echo "Setting up tests with args \"$*\"... done."

0 commit comments

Comments
 (0)