From 1ea16bc8febb1848aedb17283a60354ca1f89039 Mon Sep 17 00:00:00 2001 From: hsm207 Date: Fri, 26 Jan 2024 14:02:21 +0000 Subject: [PATCH] add cov threshold --- .github/workflows/prebuild.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index d225511..6fe1c4e 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -41,6 +41,9 @@ jobs: uses: devcontainers/ci@v0.3 with: runCmd: | - poetry run pytest -n `nproc` + 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 }} \ No newline at end of file