Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .kokoro/presubmit-against-pubsublite-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.7
python3.7 -m venv py-3.7
source py-3.7/bin/activate
# Use pytest to execute tests for py-3.8
python3.8 -m venv py-3.8
source py-3.8/bin/activate
# Install python-pubsublite samples tests requirements.
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -q
Expand All @@ -87,8 +87,8 @@ for file in python-pubsublite/samples/**/requirements.txt; do
python -m pytest quickstart_test.py
EXIT=$?

deactivate py-3.7
rm -rf py-3.7/
deactivate py-3.8
rm -rf py-3.8/

if [[ $EXIT -ne 0 ]]; then
RTN=1
Expand Down