Skip to content

Commit

Permalink
temp: test slack integration
Browse files Browse the repository at this point in the history
remove before merging to main
  • Loading branch information
Jongmassey committed Aug 13, 2024
1 parent 99c67e6 commit 7b16639
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/verification-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: ${{ failure() }} # only upload when the previous step, run tests, fails

- name: "Notify Slack on Failure"
if: failure() && github.ref_name == 'main'
if: failure()
uses: zuplo/github-action-slack-notify-build@cf8e7e66a21d76a8125ea9648979c30920195552 # v2
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions tests/verification/test_temp_slack_notify.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pytest


pytestmark = [pytest.mark.verification, pytest.mark.disable_db]


def test_notify_verification_test_failure():
assert False, "testing slack notifications"

0 comments on commit 7b16639

Please sign in to comment.