We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1496b8d commit 9d6b81aCopy full SHA for 9d6b81a
.evergreen/scripts/setup-tests.sh
@@ -12,6 +12,7 @@ set -eu
12
# TEST_CRYPT_SHARED If non-empty, install crypt_shared lib.
13
# MONGODB_API_VERSION The mongodb api version to use in tests.
14
# MONGODB_URI If non-empty, use as the MONGODB_URI in tests.
15
+# USE_ACTIVE_VENV If non-empty, use the active virtual environment.
16
17
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
18
@@ -21,5 +22,5 @@ if [ -f $SCRIPT_DIR/env.sh ]; then
21
22
fi
23
24
echo "Setting up tests with args \"$*\"..."
-uv run $SCRIPT_DIR/setup_tests.py "$@"
25
+uv run ${USE_ACTIVE_VENV:+--active} "$SCRIPT_DIR/setup_tests.py" "$@"
26
echo "Setting up tests with args \"$*\"... done."
0 commit comments