Skip to content

Commit 955b80e

Browse files
committed
テストが通らなかったときは slack に通知する
1 parent f44d0c5 commit 955b80e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/e2e-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ jobs:
2929
- run: rye run python run.py
3030
- run: rye run pytest tests/test_recvonly.py -s
3131
- run: rye run pytest tests/test_messaging.py -s
32+
- name: Slack Notification
33+
if: failure()
34+
uses: rtCamp/action-slack-notify@v2
35+
env:
36+
SLACK_CHANNEL: sora-python-sdk
37+
SLACK_COLOR: danger
38+
SLACK_TITLE: Failure test
39+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)