Skip to content

Commit 9b97dbb

Browse files
authored
notify when a test fails (#153)
1 parent 811ee62 commit 9b97dbb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/daily.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,15 @@ jobs:
229229
done < "$file"
230230
done
231231
232+
if [ -n "$failures" ]; then
233+
icon=":fire:"
234+
else
235+
icon=":white_check_mark:"
236+
fi
237+
232238
{
233239
echo "message<<EOF"
234-
printf ":white_check_mark: *ScalarDB Cluster tests completed*\n\n"
240+
printf "${icon} *ScalarDB Cluster tests completed*\n\n"
235241
printf "*Success:*\n%s\n" "$successes"
236242
printf "*Failed:*\n%s\n" "$failures"
237243
printf "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>\n"

0 commit comments

Comments
 (0)