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 f8c05ec commit a1c8eddCopy full SHA for a1c8edd
build/int.cloudbuild.yaml
@@ -36,10 +36,10 @@ steps:
36
37
# Do not prune if changing tests themselves
38
_INFRA_FOLDERS="build test .github"
39
+ while read _changed_folders; do
40
for d in _changed_folders; do
- echo "${d%/}"
41
- if [[ "${_INFRA_FOLDERS}" =~ "${d%/}" ]]; then
42
- echo "Infrastructure folders have changed; no tests will be pruned."
+ if [[ "${_INFRA_FOLDERS}" =~ "${_changed_folders%/}" ]]; then
+ echo "Infrastructure folder ${_changed_folders%/} has changed; no tests will be pruned."
43
exit 0 # do not prune
44
fi
45
done
0 commit comments