Skip to content

Commit

Permalink
テストが通らなかったときは slack に通知する
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 29, 2024
1 parent f44d0c5 commit 955b80e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ jobs:
- run: rye run python run.py
- run: rye run pytest tests/test_recvonly.py -s
- run: rye run pytest tests/test_messaging.py -s
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-python-sdk
SLACK_COLOR: danger
SLACK_TITLE: Failure test
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit 955b80e

Please sign in to comment.