Skip to content

Commit

Permalink
Merge branch 'main' into pub-sub-events
Browse files Browse the repository at this point in the history
  • Loading branch information
glasnt authored Jan 6, 2025
2 parents 231ca69 + dcc113a commit 3a85751
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ steps:
git diff origin/main --name-only > _changed_files
sed 's:[^/]*$::' _changed_files > _changed_folders
sort -u -o _changed_folders{,}
echo Folders with changes:
echo "Folders with changes:"
cat _changed_folders
# Do not prune if changing tests themselves
Expand All @@ -44,7 +44,7 @@ steps:
# Remove base folders without changes
for d in *; do
if ! grep -q "^$d$" _changed_folders && [[ "$d" != "test" ]]; then
if ! (grep -q "^$d" _changed_folders || [[ "test _changed_folders" =~ "$d" ]]); then
rm -rf $d;
fi
done
Expand All @@ -60,7 +60,7 @@ steps:
find . -empty -type d -delete
# Report remaining folders
echo Folders in scope for tests:
echo -n "Folders in scope for tests:"
find . -type d -printf '%P\n'
- id: prepare
Expand Down

0 comments on commit 3a85751

Please sign in to comment.