Skip to content

Commit 4576f02

Browse files
chore(python): skip docfx in main presubmit (#1166)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/0b6bbaa2-1b46-45ec-a4bd-ef2b18c764b2/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@fb53b6f
1 parent cc94ec8 commit 4576f02

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.kokoro/build.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515

1616
set -eo pipefail
1717

18-
cd github/google-api-python-client
18+
if [[ -z "${PROJECT_ROOT:-}" ]]; then
19+
PROJECT_ROOT="github/google-api-python-client"
20+
fi
21+
22+
cd "${PROJECT_ROOT}"
1923

2024
# Disable buffering, so that the logs stream through.
2125
export PYTHONUNBUFFERED=1
@@ -30,16 +34,16 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
3034
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
3135

3236
# Remove old nox
33-
python3.6 -m pip uninstall --yes --quiet nox-automation
37+
python3 -m pip uninstall --yes --quiet nox-automation
3438

3539
# Install nox
36-
python3.6 -m pip install --upgrade --quiet nox
37-
python3.6 -m nox --version
40+
python3 -m pip install --upgrade --quiet nox
41+
python3 -m nox --version
3842

3943
# If NOX_SESSION is set, it only runs the specified session,
4044
# otherwise run all the sessions.
4145
if [[ -n "${NOX_SESSION:-}" ]]; then
42-
python3.6 -m nox -s "${NOX_SESSION:-}"
46+
python3 -m nox -s ${NOX_SESSION:-}
4347
else
44-
python3.6 -m nox
48+
python3 -m nox
4549
fi

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/google-api-python-client.git",
7-
"sha": "32d1c597b364e2641eca33ccf6df802bb218eea1"
7+
"sha": "cc94ec86e652769e9d3d5cb6d6491efb8d76dd21"
88
}
99
},
1010
{
@@ -18,7 +18,7 @@
1818
"git": {
1919
"name": "synthtool",
2020
"remote": "https://github.com/googleapis/synthtool.git",
21-
"sha": "c2de32114ec484aa708d32012d1fa8d75232daf5"
21+
"sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483"
2222
}
2323
}
2424
],

0 commit comments

Comments
 (0)