From 846b73e62071ed0bf83d70f9fe00f9ae5be74950 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 14 Mar 2022 09:37:03 -0400 Subject: [PATCH] ci: use python 3.7 for pubsublite samples testing (#615) --- .kokoro/presubmit-against-pubsublite-samples.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.kokoro/presubmit-against-pubsublite-samples.sh b/.kokoro/presubmit-against-pubsublite-samples.sh index ff143a394..1078a5f5e 100755 --- a/.kokoro/presubmit-against-pubsublite-samples.sh +++ b/.kokoro/presubmit-against-pubsublite-samples.sh @@ -75,9 +75,9 @@ for file in python-pubsublite/samples/**/requirements.txt; do echo "- testing $file" echo "------------------------------------------------------------" - # Use pytest to execute tests for py-3.6 - python3.6 -m venv py-3.6 - source py-3.6/bin/activate + # Use pytest to execute tests for py-3.7 + python3.7 -m venv py-3.7 + source py-3.7/bin/activate # Install python-pubsublite samples tests requirements. python -m pip install --upgrade pip python -m pip install -r requirements.txt -q @@ -87,8 +87,8 @@ for file in python-pubsublite/samples/**/requirements.txt; do python -m pytest quickstart_test.py EXIT=$? - deactivate py-3.6 - rm -rf py-3.6/ + deactivate py-3.7 + rm -rf py-3.7/ if [[ $EXIT -ne 0 ]]; then RTN=1