Skip to content

Commit bbaa8e9

Browse files
committed
Add codecov coverage threshold
1 parent d0e0f98 commit bbaa8e9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

codecov.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
ignore:
22
- index_gen.go
3+
4+
coverage:
5+
status:
6+
project:
7+
default:
8+
target: 55%
9+
threshold: 5%
10+
base: auto
11+
flags:
12+
- unit
13+
314
comment:
415
layout: "reach, diff, flags, files"
516
behavior: default
617
require_changes: false # if true: only post the comment if coverage changes
718
require_base: no # [yes :: must have a base report to post]
8-
require_head: yes # [yes :: must have a head report to post]
19+
require_head: no # [yes :: must have a head report to post]
920
branches: # branch names that can post comment
1021
- "master"

0 commit comments

Comments
 (0)