From c013b3eb83740dd4442715957e1f5733814c66f4 Mon Sep 17 00:00:00 2001 From: qpxdesign Date: Sat, 2 Mar 2024 18:56:57 -0500 Subject: [PATCH] add github actions (5) --- .github/workflows/run-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c541df6..55d7e20 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,11 +20,11 @@ jobs: - name: Parse test results run: | - echo "${{ steps.run_tests.outputs.result }}" | while read -r line; do + while IFS= read -r line; do if [[ $line == *"Passed!"* ]]; then echo "Test ${line#*#} - Passed" else echo "Test ${line#*#} - Failed" exit 1 fi - done + done <<< "${{ steps.run_tests.outputs.result }}"