Skip to content

Commit 8b9489a

Browse files
authored
tweak codecov minimum coverage rules (#1159)
1 parent c0a1598 commit 8b9489a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

codecov.yml

+11
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,14 @@ fixes:
22
# Remap from npm-installed ts-node to root of project
33
# This can take the place of ./scripts/rewrite-coverage-paths.js
44
- "tests/node_modules/ts-node/::"
5+
6+
coverage:
7+
status:
8+
patch:
9+
default:
10+
# Do not fail when `patch` coverage is low. When this fails, it is misleading and not necessarily bad.
11+
# For example if a patch changes 2 lines, and only one is covered, then patch coverage is 50%.
12+
target: 0%
13+
project:
14+
default:
15+
threshold: 1%

0 commit comments

Comments
 (0)