Skip to content

Commit

Permalink
Test slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Feb 4, 2025
1 parent 25f21a8 commit 273a2bb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 273a2bb

Please sign in to comment.