Skip to content

Commit 323103a

Browse files
author
Matus Kasak
committed
Skipping some customer branches in trigger playwright tests
1 parent 19b7fb8 commit 323103a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/trigger-ui-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,14 @@ jobs:
2424
2525
git fetch --prune origin
2626
BRANCHES=$(git ls-remote --heads origin | awk -F'/' '{print $3"/"$4}' | grep '^customer/')
27+
SKIP_BRANCHES=("customer/sav" "customer/vsb-tuo" "customer/zcu-data")
28+
2729
for branch in $(echo "$BRANCHES" | sed -e 's/[\[\]"]//g' -e 's/,/\n/g'); do
30+
if [[ " ${SKIP_BRANCHES[@]} " =~ " ${branch} " ]]; then
31+
echo "Skipping branch $branch"
32+
continue
33+
fi
34+
2835
echo "Triggering UI tests for branch: $branch"
2936
gh workflow run playwright-tests.yml --ref $branch
3037
done

0 commit comments

Comments
 (0)