Only create GH summaries on failure (#18241)
Part of #17878
Summary of the issue:
GH Actions for CI/CD creates many step summary messages when tests
succeed. This adds noise to the summaries. Test success can easily be
checked in the workflow summary.
Description of developer facing changes:
Only report test failures in step summaries