-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yaml
45 lines (39 loc) · 1.12 KB
/
codecov.yaml
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
# Codecov related config
codecov:
bot: "mahendrapaipuri-codecov-bot"
# The age you want coverage reports to expire.
max_report_age: off
# Should Codecov wait for all other statuses to pass before sending its status.
require_ci_to_pass: yes
notify:
# https://docs.codecov.com/docs/notifications#section-preventing-notifications-until-after-n-builds
after_n_builds: 5
wait_for_ci: yes
# do not notify until at least 5 builds have been uploaded from the CI pipeline
# you can also set after_n_builds on comments independently
comment:
after_n_builds: 5
coverage:
status:
project:
default: false # disable the default status that measures entire project
source:
paths:
- "gitlab_activity/"
target: auto
threshold: 3%
patch:
default:
# basic
target: auto
threshold: 0%
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- type: project
target: auto
threshold: 3%
- type: patch
target: auto
threshold: 0%