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 959d4f8 commit 53ea389Copy full SHA for 53ea389
synthtool/gcp/templates/python_library/.kokoro/test-samples-impl.sh
@@ -20,9 +20,9 @@ set -eo pipefail
20
# Enables `**` to include files nested inside sub-folders
21
shopt -s globstar
22
23
-# Exit early if samples directory doesn't exist
24
-if [ ! -d "./samples" ]; then
25
- echo "No tests run. `./samples` not found"
+# Exit early if samples don't exist
+if ! find samples -name 'requirements.txt' | grep -q .; then
+ echo "No tests run. './samples/**/requirements.txt' not found"
26
exit 0
27
fi
28
0 commit comments