Skip to content

Commit 9a3e20c

Browse files
fix: re-run tests
1 parent 40d20c6 commit 9a3e20c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.maestro/scripts/run-tests.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,13 @@ run_maestro() {
295295

296296
if is_ci; then
297297
local -a flows=()
298-
mapfile -t flows < <(collect_flow_files)
299298
local flow failed=0
300-
for flow in "${flows[@]}"; do
299+
while IFS= read -r flow; do
301300
[ -z "$flow" ] && continue
301+
flows+=("$flow")
302+
done < <(collect_flow_files)
303+
304+
for flow in "${flows[@]+"${flows[@]}"}"; do
302305
echo "=== Running flow: $flow ==="
303306
run_maestro_with_targets "$(maestro_test_paths "$flow")" "${tag_args[@]}" || failed=1
304307
done

0 commit comments

Comments
 (0)