From e82b1b33d57842e3ec6438cd8742caaeb6765c85 Mon Sep 17 00:00:00 2001 From: sebastianMindee Date: Thu, 7 Nov 2024 11:17:00 +0100 Subject: [PATCH] :recycle: update test lib, add workflow notifying --- .github/workflows/test-regression.yml | 10 ++++++++++ tests/data | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-regression.yml b/.github/workflows/test-regression.yml index bba7fbea..762fb64d 100644 --- a/.github/workflows/test-regression.yml +++ b/.github/workflows/test-regression.yml @@ -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 }} diff --git a/tests/data b/tests/data index e93f49c8..61df37c8 160000 --- a/tests/data +++ b/tests/data @@ -1 +1 @@ -Subproject commit e93f49c8a78ba3d71c35a8fe2219d973cfcb1334 +Subproject commit 61df37c8d775beb1efa268eb0b562ffdbdbe413f