Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Move coverage check to only run for Linux GitHub action

davidmezzetti9118875980cb
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6217308c..c462c461 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -68,7 +68,9 @@ jobs:
if: matrix.os == 'ubuntu-latest'
- name: Test Coverage
- run: coveralls --service=github
+ run: |
+ coverage report --fail-under=100
+ coveralls --service=github
if: matrix.os == 'ubuntu-latest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/Makefile b/Makefile
index beee6253..ada65da1 100644
--- a/Makefile
+++ b/Makefile
@@ -56,4 +56,3 @@ coverage:
coverage run -m unittest discover -v -k testvectors -s ${TEST_DIR}
coverage run -m unittest discover -v -k testworkflow -s ${TEST_DIR}
coverage combine
- coverage report --fail-under=100