File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
28
28
git checkout $LATEST_RELEASE
29
29
fi
30
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
+
31
37
# Disable buffering, so that the logs stream through.
32
38
export PYTHONUNBUFFERED=1
33
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 "
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/python-api-core.git",
7
- "sha": "a85533903c57be4809fe76435e298409e0903931 "
7
+ "sha": "70ebe42601b3d088b3421233ef7d8245229b7265 "
8
8
}
9
9
},
10
10
{
11
11
"git": {
12
12
"name": "synthtool",
13
13
"remote": "https://github.com/googleapis/synthtool.git",
14
- "sha": "487eba79f8260e34205d8ceb1ebcc65685085e19 "
14
+ "sha": "477764cc4ee6db346d3febef2bb1ea0abf27de52 "
15
15
}
16
16
}
17
17
],
You can’t perform that action at this time.
0 commit comments