Skip to content

Commit 9a70678

Browse files
authored
fix(send-slack-notification): Handle multiline failed tests (#82)
1 parent a5d39a4 commit 9a70678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-integration-test/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ runs:
272272
run: |
273273
# Only look at the last 200 lines of test output which should be more than enough to capture all test results
274274
FAILED_TESTS=$(tail --lines 200 test-output.log | grep -E '\s{8}--- FAIL:' | sed -e 's|^.*kuttl/harness/||')
275-
echo "FAILED_TESTS=$FAILED_TESTS" | tee -a "$GITHUB_OUTPUT"
275+
echo "FAILED_TESTS<<EOF\n$FAILED_TESTS\nEOF" | tee -a "$GITHUB_OUTPUT"
276276
277277
- name: Calculate Health
278278
if: always()

0 commit comments

Comments
 (0)