There was an error while loading. Please reload this page.
1 parent 40d20c6 commit 9a3e20cCopy full SHA for 9a3e20c
1 file changed
.maestro/scripts/run-tests.sh
@@ -295,10 +295,13 @@ run_maestro() {
295
296
if is_ci; then
297
local -a flows=()
298
- mapfile -t flows < <(collect_flow_files)
299
local flow failed=0
300
- for flow in "${flows[@]}"; do
+ while IFS= read -r flow; do
301
[ -z "$flow" ] && continue
+ flows+=("$flow")
302
+ done < <(collect_flow_files)
303
+
304
+ for flow in "${flows[@]+"${flows[@]}"}"; do
305
echo "=== Running flow: $flow ==="
306
run_maestro_with_targets "$(maestro_test_paths "$flow")" "${tag_args[@]}" || failed=1
307
done
0 commit comments