Skip to content

Commit

Permalink
adding github action for coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
bonevbs committed Dec 14, 2023
1 parent a0227d4 commit cc89df5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,17 @@ jobs:
- name: Test with pytest
run: |
python -m pip install pytest pytest-cov parameterized
python -m pytest ./tests/test_sht.py
python -m pytest --cov-report xml:coverage.xml --cov=torch_harmonics ./tests/test_sht.py
- name: Code coverage summary
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 80'

0 comments on commit cc89df5

Please sign in to comment.