Skip to content

Commit ad38188

Browse files
chore(tests): upgrade environment test script from python3.6 (#1054)
1 parent 781bf85 commit ad38188

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.kokoro/environment_tests.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ fi
2626

2727
# make sure submodule is up to date
2828
cd "$PROJECT_ROOT"
29+
git config --global --add safe.directory '*'
2930
git submodule update --init --recursive
3031
cd "${PROJECT_ROOT}/env-tests-logging"
3132

@@ -48,11 +49,11 @@ gcloud config set compute/zone us-central1-b
4849
gcloud auth configure-docker -q
4950

5051
# Remove old nox
51-
python3.6 -m pip uninstall --yes --quiet nox-automation
52+
python3 -m pip uninstall --yes --quiet nox-automation
5253

5354
# Install nox
54-
python3.6 -m pip install --upgrade --quiet nox
55-
python3.6 -m nox --version
55+
python3 -m pip install --upgrade --quiet nox
56+
python3 -m nox --version
5657

5758
# Install kubectl
5859
if [[ "${ENVIRONMENT}" == "kubernetes" ]]; then
@@ -70,7 +71,7 @@ echo $ENVCTL_ID
7071

7172
# Run the specified environment test
7273
set +e
73-
python3.6 -m nox --session "tests(language='java', platform='$ENVIRONMENT')"
74+
python3 -m nox --session "tests(language='java', platform='$ENVIRONMENT')"
7475
TEST_STATUS_CODE=$?
7576

7677
# destroy resources

0 commit comments

Comments
 (0)