Skip to content

Commit ba92a59

Browse files
fix(ci): prevent grep exit code 1 from failing empty dir check (#10315)
1 parent 5346222 commit ba92a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ui-e2e-tests-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
echo "Skipping empty test directory: $p"
243243
fi
244244
done <<< "$TEST_PATHS"
245-
VALID_PATHS=$(echo "$VALID_PATHS" | grep -v '^$')
245+
VALID_PATHS=$(echo "$VALID_PATHS" | grep -v '^$' || true)
246246
if [[ -z "$VALID_PATHS" ]]; then
247247
echo "No test files found in any resolved paths — skipping E2E"
248248
exit 0

0 commit comments

Comments
 (0)