Skip to content

Commit

Permalink
Use coveragepy for generating coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed May 22, 2024
1 parent f2d30ba commit 7c00329
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cov codecov
pip install pytest-cov codecov coverage
pip install .[test]
- name: Test with pytest
run: |
pytest --cov=catmux --cov-report=xml .
coverage run --source=src -m pytest && coverage report
coverage xml -o coverage.xml
- name: Run example
run: |
catmux_create_session -d catmux/resources/example_session.yaml
Expand Down

0 comments on commit 7c00329

Please sign in to comment.