Skip to content

Commit 1096f6a

Browse files
authored
Refactor tests (#149)
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 <hsm207@users.noreply.github.com>
1 parent 712ecb2 commit 1096f6a

File tree

6 files changed

+23121
-7756
lines changed

6 files changed

+23121
-7756
lines changed

.github/workflows/prebuild.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,4 @@ jobs:
4444
poetry run pytest -n `nproc` \
4545
--cov=langchain_weaviate \
4646
--cov-report term-missing \
47-
--cov-fail-under=94.59
48-
env:
49-
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY_FROM_WEAVIATE }}
47+
--cov-fail-under=96.44

0 commit comments

Comments
 (0)