From 40e3996f6603283e6971543cc5b42b174791d2c4 Mon Sep 17 00:00:00 2001 From: vmudadla Date: Tue, 15 Oct 2024 17:15:57 -0500 Subject: [PATCH] Update test Signed-off-by: vmudadla --- test/presubmit-tests-sdk.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/presubmit-tests-sdk.sh b/test/presubmit-tests-sdk.sh index 7ce14e8bb5c..894e3d7a306 100755 --- a/test/presubmit-tests-sdk.sh +++ b/test/presubmit-tests-sdk.sh @@ -15,6 +15,10 @@ source_root=$(pwd) +# Create a virtual environment and activate it +python3 -m venv venv +source venv/bin/activate + python3 -m pip install --upgrade pip python3 -m pip install coveralls==1.9.2 python3 -m pip install $(grep 'absl-py==' sdk/python/requirements-dev.txt) @@ -37,3 +41,6 @@ export COVERALLS_SERVICE_NAME="prow" export COVERALLS_SERVICE_JOB_ID=$PROW_JOB_ID export CI_PULL_REQUEST="$REPO_BASE/pull/$PULL_NUMBER" # coveralls + +# Deactivate the virtual environment +deactivate