Skip to content

Commit

Permalink
Fix coverage checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris committed Sep 11, 2024
1 parent fb423bc commit 82dec32
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 165 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/legacy_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
env:
HUME_DEV_API_KEY: ${{ secrets.HUME_DEV_API_KEY }}
run: |
poetry run pytest tests/custom/_legacy -m "(not service) and (not microphone)"
poetry run pytest tests/custom/_legacy --cov=hume --cov-report=html --cov-report=xml --cov-branch -m "(not service) and (not microphone)"
- name: Run pydocstyle
shell: bash
Expand All @@ -77,6 +77,11 @@ jobs:
name: hume-unit-coverage-xml
path: hume/coverage.xml

- name: Check Coverage
shell: bash
run: |
poetry run covcheck coverage.xml --config pyproject.toml --group unit
build-service:
runs-on: ubuntu-latest

Expand Down
Loading

0 comments on commit 82dec32

Please sign in to comment.