-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
97 lines (82 loc) · 1.74 KB
/
codecov.yml
File metadata and controls
97 lines (82 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
codecov:
require_ci_to_pass: yes
# PR에 댓글 설정
comment:
layout: "header,diff,flags,components,files,footer"
behavior: default
require_changes: false
after_n_builds: 4 # overall + main + notification + gateway
# 서비스별 플래그 설정
flag_management:
default_rules:
carryforward: true
flags:
overall:
paths:
- dms-main/
- dms-notification/
- dms-gateway/
carryforward: false
main-service:
paths:
- dms-main/
carryforward: true
notification-service:
paths:
- dms-notification/
carryforward: true
gateway-service:
paths:
- dms-gateway/
carryforward: true
# 서비스별 컴포넌트 설정
component_management:
default_rules:
statuses:
- type: project
target: 70%
individual_components:
- component_id: main-service
name: Main Service
paths:
- dms-main/**
- component_id: notification-service
name: Notification Service
paths:
- dms-notification/**
- component_id: gateway-service
name: Gateway Service
paths:
- dms-gateway/**
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
target: 70%
threshold: 2%
base: auto
patch:
default:
target: 80%
threshold: 5%
changes:
default:
target: 70%
# 커버리지에서 제외할 파일
ignore:
- "**/test/**"
- "**/stub/**"
- "**/*Test.kt"
- "**/*Tests.kt"
- "**/config/**"
- "**/exception/**"
- "**/dto/**"
- "**/entity/**"
- "**/*Application.kt"
- "**/contracts/**"
- "**/*Request.kt"
- "**/*Response.kt"
- "**/*Properties.kt"