mirror of
https://github.com/neuml/txtai.git
synced 2026-10-11 21:39:55 +00:00
Move coverage check to only run for Linux GitHub action
This commit is contained in:
@@ -68,7 +68,9 @@ jobs:
|
|||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
|
||||||
- name: Test Coverage
|
- name: Test Coverage
|
||||||
run: coveralls --service=github
|
run: |
|
||||||
|
coverage report --fail-under=100
|
||||||
|
coveralls --service=github
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -56,4 +56,3 @@ coverage:
|
|||||||
coverage run -m unittest discover -v -k testvectors -s ${TEST_DIR}
|
coverage run -m unittest discover -v -k testvectors -s ${TEST_DIR}
|
||||||
coverage run -m unittest discover -v -k testworkflow -s ${TEST_DIR}
|
coverage run -m unittest discover -v -k testworkflow -s ${TEST_DIR}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage report --fail-under=100
|
|
||||||
|
|||||||
Reference in New Issue
Block a user