Skip to content

Commit

Permalink
♻️ update test lib, add workflow notifying
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Nov 7, 2024
1 parent 7357bfc commit e82b1b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/test-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ jobs:
MINDEE_API_KEY: ${{ secrets.MINDEE_API_KEY_SE_TESTS }}
run: |
pytest -m regression
- name: Notify Slack Action on Failure
uses: ravsamhq/notify-slack-action@2.3.0
if: ${{ always() && github.ref_name == 'main' }}
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: "Regression test workflow {workflow} is failing"
env:
SLACK_WEBHOOK_URL: ${{ secrets.PRODUCTION_ISSUES_SLACK_HOOK_URL }}

0 comments on commit e82b1b3

Please sign in to comment.