Skip to content

Commit a39fef5

Browse files
♻️ update test lib, add workflow notifying (#269)
1 parent 7357bfc commit a39fef5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test-regression.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,13 @@ jobs:
5151
MINDEE_API_KEY: ${{ secrets.MINDEE_API_KEY_SE_TESTS }}
5252
run: |
5353
pytest -m regression
54+
55+
- name: Notify Slack Action on Failure
56+
uses: ravsamhq/notify-slack-action@2.3.0
57+
if: ${{ always() && github.ref_name == 'main' }}
58+
with:
59+
status: ${{ job.status }}
60+
notify_when: "failure"
61+
notification_title: "Regression test workflow {workflow} is failing"
62+
env:
63+
SLACK_WEBHOOK_URL: ${{ secrets.PRODUCTION_ISSUES_SLACK_HOOK_URL }}

0 commit comments

Comments
 (0)