10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1fd09 commit 477764cCopy full SHA for 477764c
synthtool/gcp/templates/python_library/.kokoro/test-samples.sh
@@ -28,6 +28,12 @@ if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
28
git checkout $LATEST_RELEASE
29
fi
30
31
+# Exit early if samples directory doesn't exist
32
+if [ ! -d "./samples" ]; then
33
+ echo "No tests run. `./samples` not found"
34
+ exit 0
35
+fi
36
+
37
# Disable buffering, so that the logs stream through.
38
export PYTHONUNBUFFERED=1
39
@@ -101,4 +107,4 @@ cd "$ROOT"
101
107
# Workaround for Kokoro permissions issue: delete secrets
102
108
rm testing/{test-env.sh,client-secrets.json,service-account.json}
103
109
104
-exit "$RTN"
110
+exit "$RTN"
0 commit comments