Skip to content

Commit d2f41d9

Browse files
committed
Fix GitHub Action to run all test commands in matrix
Previously, only the first line of `test_commands` was executed due to improper handling of multiline strings. Switched to `printf` with process substitution to ensure all test commands are run sequentially. Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent 736fd33 commit d2f41d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
echo "::group::Running: $cmd"
9797
docker run -i -p 8888:8888 -p 8081:8081 -p 9092:9092 --rm -v $PWD:/build datasqrl/cmd:${SQRL_VERSION} $cmd
9898
echo "::endgroup::"
99-
done <<< "${{ matrix.test_commands }}"
99+
done < <(printf '%s\n' "${{ matrix.test_commands }}")
100100
101101
- name: Write Dockerfile
102102
run: |

0 commit comments

Comments
 (0)