File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 1515
1616set -eo pipefail
1717
18- CURRENT_DIR=$( dirname " ${BASH_SOURCE[0]} " )
19-
2018if [[ -z " ${PROJECT_ROOT:- } " ]]; then
21- PROJECT_ROOT=$( realpath " ${CURRENT_DIR} /.. " )
19+ PROJECT_ROOT=" github/python-firestore "
2220fi
2321
24- pushd " ${PROJECT_ROOT} "
22+ cd " ${PROJECT_ROOT} "
2523
2624# Disable buffering, so that the logs stream through.
2725export PYTHONUNBUFFERED=1
@@ -33,16 +31,10 @@ env | grep KOKORO
3331export FIRESTORE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /firebase-credentials.json
3432
3533# Setup service account credentials.
36- if [[ -f " ${KOKORO_GFILE_DIR} /service-account.json" ]]
37- then
38- export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /service-account.json
39- fi
34+ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /service-account.json
4035
4136# Setup project id.
42- if [[ -f " ${KOKORO_GFILE_DIR} /project-id.json" ]]
43- then
44- export PROJECT_ID=$( cat " ${KOKORO_GFILE_DIR} /project-id.json" )
45- fi
37+ export PROJECT_ID=$( cat " ${KOKORO_GFILE_DIR} /project-id.json" )
4638
4739# If this is a continuous build, send the test log to the FlakyBot.
4840# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
5749# If NOX_SESSION is set, it only runs the specified session,
5850# otherwise run all the sessions.
5951if [[ -n " ${NOX_SESSION:- } " ]]; then
60- python3 -m nox -s ${NOX_SESSION:- }
52+ python3 -m nox -s ${NOX_SESSION:- }
6153else
62- python3 -m nox
54+ python3 -m nox
6355fi
You can’t perform that action at this time.
0 commit comments