Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 13, 2024
1 parent 90ec03c commit 1f2aff4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/fastembed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,24 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: github.event_name == 'schedule' && failure() && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
id: nightly-haystack-main
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 with Haystack main branch
if: failure()
if: failure() && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure with Haystack main branch: ${{ github.workflow }}"
Expand Down

0 comments on commit 1f2aff4

Please sign in to comment.