diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index c88f1920e..87cb3a1d6 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -43,6 +43,28 @@ jobs: if: steps.filter.outputs.backend == 'true' run: lerna run test-ci --scope @quiet/backend --stream + - uses: actions-ecosystem/action-slack-notifier@v1 + if: ${{ steps.filter.outputs.backend == 'true' && success() }} + with: + slack_token: ${{ secrets.SLACK_BOT_OAUTH_TOKEN }} + username: Github Actions + color: green + verbose: true + message: | + Test success + channel: releases + + - uses: actions-ecosystem/action-slack-notifier@v1 + if: ${{ steps.filter.outputs.backend == 'true' && failure() }} + with: + slack_token: ${{ secrets.SLACK_BOT_OAUTH_TOKEN }} + username: Github Actions + color: red + verbose: true + message: | + Test failure + channel: releases + long-running-tests: runs-on: ${{ matrix.os }}