Skip to content

Commit 6a587ef

Browse files
committed
Fail build with test command is missing
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent 11fcc6f commit 6a587ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ jobs:
8888
- name: Run ${{ matrix.example }} Tests
8989
working-directory: ${{ matrix.path }}
9090
run: |
91+
if [ -z "${{ matrix.test_commands }}" ]; then
92+
echo "No test commands specified for ${{ matrix.example }}"
93+
exit 1
94+
fi
95+
9196
while IFS= read -r cmd; do
9297
echo "Running: $cmd"
9398
docker run -i -p 8888:8888 -p 8081:8081 -p 9092:9092 --rm -v $PWD:/build datasqrl/cmd:${SQRL_VERSION} $cmd

0 commit comments

Comments
 (0)