Skip to content

Commit f4458ea

Browse files
committed
Enforce patch code coverage
1 parent 0131c7b commit f4458ea

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,6 @@ jobs:
180180
uses: actions/[email protected]
181181
- name: Upload coverage to Codecov
182182
uses: codecov/codecov-action@v3
183+
with:
184+
fail_ci_if_error: true
185+
verbose: true

codecov.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: auto
6+
threshold: 0%
7+
informational: false
8+
patch:
9+
default:
10+
target: 90%
11+
threshold: 0%
12+
informational: false
13+
14+
comment:
15+
layout: "reach,diff,flags,tree,files"
16+
behavior: default
17+
require_changes: false
18+

0 commit comments

Comments
 (0)