Skip to content

Commit

Permalink
tweak codecov minimum coverage rules (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Nov 22, 2020
1 parent c0a1598 commit 8b9489a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions codecov.yml
Expand Up @@ -2,3 +2,14 @@ fixes:
# Remap from npm-installed ts-node to root of project
# This can take the place of ./scripts/rewrite-coverage-paths.js
- "tests/node_modules/ts-node/::"

coverage:
status:
patch:
default:
# Do not fail when `patch` coverage is low. When this fails, it is misleading and not necessarily bad.
# For example if a patch changes 2 lines, and only one is covered, then patch coverage is 50%.
target: 0%
project:
default:
threshold: 1%

0 comments on commit 8b9489a

Please sign in to comment.