-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy path.codecov.yml
More file actions
53 lines (42 loc) · 1.32 KB
/
.codecov.yml
File metadata and controls
53 lines (42 loc) · 1.32 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
# Codecov configuration file
# This file configures code coverage reporting and requirements for the project
coverage:
# Coverage status configuration
status:
# Project-level coverage settings
project:
# Default status check configuration
default:
# The minimum required coverage value for the project
target: 80%
# The allowed coverage decrease before failing the status check
threshold: 0%
# Whether to run coverage checks only on pull requests
only_pulls: false
# Patch-level coverage settings
patch:
default:
informational: true
target: auto
threshold: 0%
only_pulls: false
comment:
layout: "header,diff,files,footer"
behavior: default
require_changes: false
require_base: false
require_head: true
# Ignore files or packages matching their paths
ignore:
- '\.pb\.go$' # Excludes all protobuf generated files
- '\.gen\.go' # Excludes generated files
- '^fake_.*\.go' # Excludes fakes
- '^test/.*$'
- 'app.go' # app.go and main.go should be tested by integration tests.
- 'main.go'
# ignore metadata generated files
- 'metadata/generated_.*\.go'
# ignore wrappers around gopsutil
- 'internal/datasource/host'
- 'internal/watcher/process'
- 'pkg/nginxprocess'