Skip to content

Commit

Permalink
Refactor tests (#149)
Browse files Browse the repository at this point in the history
This pull request updates the fake embeddings used for testing purposes.
It includes the following changes:

- Use consistent fake embeddings instead of openai embeddings.

- Moved all tests to the unit test folder.

- Raised the minimum test coverage to 96.44%

---------

Signed-off-by: hsm207 <[email protected]>
  • Loading branch information
hsm207 authored Mar 27, 2024
1 parent 712ecb2 commit 1096f6a
Show file tree
Hide file tree
Showing 6 changed files with 23,121 additions and 7,756 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,4 @@ jobs:
poetry run pytest -n `nproc` \
--cov=langchain_weaviate \
--cov-report term-missing \
--cov-fail-under=94.59
env:
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY_FROM_WEAVIATE }}
--cov-fail-under=96.44
Loading

0 comments on commit 1096f6a

Please sign in to comment.