Skip to content

Commit 2afdd98

Browse files
1 parent bb28f49 commit 2afdd98

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎.kokoro/test-samples-impl.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ set -eo pipefail
2020
# Enables `**` to include files nested inside sub-folders
2121
shopt -s globstar
2222

23-
DIFF_FROM="origin/main..."
24-
2523
# Exit early if samples don't exist
2624
if ! find samples -name 'requirements.txt' | grep -q .; then
2725
echo "No tests run. './samples/**/requirements.txt' not found"
@@ -73,16 +71,6 @@ for file in samples/**/requirements.txt; do
7371
file=$(dirname "$file")
7472
cd "$file"
7573

76-
# If $DIFF_FROM is set, use it to check for changes in this directory.
77-
if [[ -n "${DIFF_FROM:-}" ]]; then
78-
git diff --quiet "$DIFF_FROM" .
79-
CHANGED=$?
80-
if [[ "$CHANGED" -eq 0 ]]; then
81-
# echo -e "\n Skipping $file: no changes in folder.\n"
82-
continue
83-
fi
84-
fi
85-
8674
echo "------------------------------------------------------------"
8775
echo "- testing $file"
8876
echo "------------------------------------------------------------"

0 commit comments

Comments
 (0)