Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,18 @@ jobs:
flags: ${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
notifications:
name: Regression notifications
runs-on: ubuntu-latest
needs: build
if: failure() && github.ref == 'refs/heads/zimeg-ci-notifications' && github.event_name != 'workflow_dispatch'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📣 workflow_dispatch will not send a notification!

🔗 https://github.com/slackapi/bolt-python/actions/runs/15935708998

steps:
- name: Send notifications of failing tests
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
with:
errors: true
webhook: ${{ secrets.SLACK_REGRESSION_FAILURES_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
action_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
repository: "${{ github.repository }}"
2 changes: 1 addition & 1 deletion tests/scenario_tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def handle(context: BoltContext, respond):

req = BoltRequest(body=app_mention_event_body, headers={}, mode="socket_mode")
response = app.dispatch(req)
assert response.status == 200
assert response.status == 418
assert result["called"] is True

def test_argument_logger_propagation(self):
Expand Down
Loading