Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions codecov.yml → .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
codecov:
branch: dev

coverage:
# https://docs.codecov.com/docs/coverage-configuration
range: "80...90"
# https://docs.codecov.io/docs/commit-status
status:
# TODO: re-enable patch in the future
patch: off
project:
default:
# minimum coverage ratio that the commit must meet to be considered a success
target: 82%
target: 83%
if_ci_failed: error
only_pulls: true

github_checks:
annotations: false
annotations: true
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tests-doctests:

.PHONY: tests-lib
tests-lib:
pytest --durations=10 $(pytest_flags) --doctest-modules hathor --cov-fail-under=83 $(tests_lib)
pytest --durations=10 $(pytest_flags) --doctest-modules hathor $(tests_lib)

.PHONY: tests-genesis
tests-genesis:
Expand All @@ -46,7 +46,7 @@ tests: tests-cli tests-lib tests-genesis

.PHONY: tests-full
tests-full:
pytest $(pytest_flags) --durations=10 --cov-fail-under=90 --cov-config=.coveragerc_full ./tests
pytest $(pytest_flags) --durations=10 --cov-config=.coveragerc_full ./tests

# checking:

Expand Down