Skip to content

Commit b614ca0

Browse files
authored
ci: Notifying of nightly failures (#138)
1 parent 94997d4 commit b614ca0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,13 @@ jobs:
5656
run: |
5757
pytest --timeout_method "thread" -o log_cli=true -o log_cli_level=INFO tests/integration
5858
59+
- name: Slack Notify of failure
60+
if: failure()
61+
uses: rtCamp/[email protected]
62+
env:
63+
SLACK_USERNAME: CI bot
64+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
65+
SLACK_COLOR: "#FF0000"
66+
SLACK_ICON: None
67+
SLACK_TITLE: Nightly tests failed
68+
SLACK_MESSAGE: Please investigate

0 commit comments

Comments
 (0)