From 48231764e3c861cf6c63f10712d67ca26c910ba7 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Fri, 15 Mar 2024 18:04:56 +0100 Subject: [PATCH] another try --- .github/workflows/amazon_bedrock.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 117e89a2a..7af6b0757 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -77,14 +77,15 @@ jobs: run: | hatch run pip install git+https://github.com/deepset-ai/haystack.git hatch run test -m "not integration" - + - name: Send event to Datadog for nightly failures if: | failure() && github.event_name == 'schedule' && (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') - env: - FAILED_STEP: ${{ if(steps.tests.conclusion == 'failure') }} tests ${{ else }} nightly-haystack-main uses: ./.github/actions/send_failure with: - title: "core-integrations failure: ${{ env.FAILED_STEP }} - ${{ github.workflow }}" + title: | + core-integrations failure: + ${{ if(steps.tests.conclusion == 'failure') }} tests ${{ else }} nightly-haystack-main + - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file