@@ -437,6 +437,8 @@ jobs:
437437 always() &&
438438 needs.setup.outputs.workflow-trigger == 'push' &&
439439 (
440+ needs.setup.result == 'failure' ||
441+ needs.test-autopilot-upgrade.result == 'failure' ||
440442 needs.test-go.result == 'failure' ||
441443 needs.test-go-race.result == 'failure' ||
442444 needs.test-go-race.outputs.data-race-result == 'failure' ||
@@ -463,11 +465,18 @@ jobs:
463465 text:
464466 type: mrkdwn
465467 text: |
466- ${{ needs.test-go.result != 'failure' && ':white_check_mark:' || ':x:' }} Go tests
467- ${{ needs.test-go-race.result != 'failure' && ':white_check_mark:' || ':x:' }} Go race tests
468- ${{ needs.test-go-race.outputs.data-race-result != 'success' && ':x: Data race detected' || ':white_check_mark: No race detected' }}
469- ${{ needs.test-go-testonly.result != 'failure' && ':white_check_mark:' || ':x:' }} Go testonly tests
470- ${{ needs.test-ui.result != 'failure' && ':white_check_mark:' || ':x:' }} UI tests
468+ ${{ needs.setup.result == 'failure' && ':x: Setup' || '' }}
469+ ${{ needs.test-autopilot-upgrade.result == 'failure' && ':x: Autopilot upgrade' || '' }}
470+ ${{ needs.test-go.result == 'failure' && ':x: Go tests' || '' }}
471+ ${{ needs.test-go-testonly.result == 'failure' && ':x: Go testonly tests' || '' }}
472+ ${{ needs.test-go-fips.result == 'failure' && ':x: Go FIPS tests' || '' }}
473+ ${{ needs.test-ui.result == 'failure' && ':x: UI tests' || '' }}
474+ ${{ needs.test-go-race.result != 'skipped' &&
475+ (
476+ ((needs.test-go-race.outputs.data-race-result != '' && needs.test-go-race.outputs.data-race-result != 'success') && ':x: Go race tests (Data race(s) detected)') ||
477+ (needs.test-go-race.result == 'failure' && ':x: Go race tests' || '')
478+ ) || ''
479+ }}
471480 accessory:
472481 type: button
473482 text:
0 commit comments