Skip to content

Commit a1c8edd

Browse files
authored
Update int.cloudbuild.yaml
1 parent f8c05ec commit a1c8edd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/int.cloudbuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ steps:
3636
3737
# Do not prune if changing tests themselves
3838
_INFRA_FOLDERS="build test .github"
39+
while read _changed_folders; do
3940
for d in _changed_folders; do
40-
echo "${d%/}"
41-
if [[ "${_INFRA_FOLDERS}" =~ "${d%/}" ]]; then
42-
echo "Infrastructure folders have changed; no tests will be pruned."
41+
if [[ "${_INFRA_FOLDERS}" =~ "${_changed_folders%/}" ]]; then
42+
echo "Infrastructure folder ${_changed_folders%/} has changed; no tests will be pruned."
4343
exit 0 # do not prune
4444
fi
4545
done

0 commit comments

Comments
 (0)