Skip to content

Commit

Permalink
try failure
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 13, 2024
1 parent f6622cc commit 90ec03c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/fastembed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,11 @@ jobs:
- name: Nightly - run unit tests with Haystack main branch
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures with Haystack main branch
if: failure()
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure with Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_embed(self):
result = embedder.run(text=text)
embedding = result["embedding"]

assert isinstance(embedding, list)
assert isinstance(embedding, str)
assert all(isinstance(emb, float) for emb in embedding)

def test_run_wrong_incorrect_format(self):
Expand Down

0 comments on commit 90ec03c

Please sign in to comment.