Skip to content

Commit

Permalink
test fail_under flag in coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMatt committed Nov 13, 2023
1 parent 7273675 commit f5ce43f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[report]
omit = *test_*
fail_under = 100
fail_under = 80
threshold = 5

[run]
plugins = Cython.Coverage
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Run tests
run: |
pytest --cov-report term --cov=harmonic --cov-config=.coveragerc --cov-fail-under=50
pytest --cov-report term --cov=harmonic --cov-config=.coveragerc --cov-fail-under=50 --threshold=5
codecov --token d8f839b7-cf16-4d43-83c7-9d595f6e1d44
- name: Build Documentation
Expand Down

0 comments on commit f5ce43f

Please sign in to comment.