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 ae4ab38 commit aec2856Copy full SHA for aec2856
test/presubmit-tests-sdk.sh
@@ -15,6 +15,10 @@
15
16
source_root=$(pwd)
17
18
+# Create a virtual environment and activate it
19
+python3 -m venv venv
20
+source venv/bin/activate
21
+
22
python3 -m pip install --upgrade pip
23
python3 -m pip install coveralls==1.9.2
24
python3 -m pip install $(grep 'absl-py==' sdk/python/requirements-dev.txt)
@@ -37,3 +41,6 @@ export COVERALLS_SERVICE_NAME="prow"
37
41
export COVERALLS_SERVICE_JOB_ID=$PROW_JOB_ID
38
42
export CI_PULL_REQUEST="$REPO_BASE/pull/$PULL_NUMBER"
39
43
# coveralls
44
45
+# Deactivate the virtual environment
46
+deactivate
0 commit comments