File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,17 @@ jobs:
104104 run : yarn install --frozen-lockfile
105105 - name : Run integration tests
106106 run : yarn integration-tests
107- # TODO: Set up slack notifications
108- # - name: Running size integration tests (failures are reported in Slack only).
109- # run: |
110- # If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel.
111- # yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking
107+ - name : Running size integration tests
108+ run : yarn integration-tests:size-test
109+ continue-on-error : true
110+ - name : Notify about failed integration size-test
111+ if : ${{ failure() && github.event_name == 'push'}}
112+ uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v=v1.24.0
113+ with :
114+ channel-id : ' C015EBF2XB6'
115+ slack-message : ' Integration testing job failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
116+ env :
117+ SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
112118
113119 linker_aot_tests :
114120 runs-on : ubuntu-latest-4core
You can’t perform that action at this time.
0 commit comments