-
Notifications
You must be signed in to change notification settings - Fork 800
/
codecov.yml
74 lines (74 loc) · 2.68 KB
/
codecov.yml
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
# Refs:
# - https://docs.codecov.com/docs/common-recipe-list
# - https://docs.codecov.com/docs/codecovyml-reference
#
# After making changes, run below command to validate
# curl --data-binary @codecov.yml https://codecov.io/validate
coverage:
range: 80...100
round: down
precision: 2
status:
project: # measuring the overall project coverage
default: # context, you can create multiple ones with custom titles
informational: true
target: 85% # specify the target coverage for each commit status
# option: "auto" (compare against parent commit or pull request base)
# option: "X%" a static target percentage to hit
threshold: 0% # allow the coverage drop by x% before marking as failure
if_ci_failed: ignore # require the CI to pass before setting the status
patch:
default:
target: 75% # specify the target coverage for each commit status
# option: "auto" (compare against parent commit or pull request base)
# option: "X%" a static target percentage to hit
threshold: 0% # allow the coverage drop by x% before marking as failure
comment:
layout: "header, files, footer"
hide_project_coverage: false
codecov:
require_ci_to_pass: false
ignore:
- "**/*_cql.go"
- "**/*_generated.go"
- "**/*_mock.go"
- "**/*_test.go"
- "**/*Test.go"
- "**/*_test_utils.go"
- "**/constants.go"
- "**/interface.go"
- "**/interfaces.go"
- "**/main.go"
- "**/*mocks.go"
- "**/mocks/**"
- "**/testdata/**"
- "**/testing/**"
- "**/types.go"
- "**/version.go"
- "bench/**"
- "canary/**"
- "cmd/**"
- "common/persistence/persistence-tests/**"
- "common/domain/errors.go"
- "common/log/**"
- "common/metrics/**"
- "common/persistence/nosql/nosqlplugin/cassandra/admin.go"
- "common/persistence/nosql/nosqlplugin/dynamodb/**"
- "common/persistence/nosql/nosqlplugin/mongodb/**"
- "common/types/shared.go" # 8k lines of getters. Not worth testing manually but consider switching to generated code.
- "host/**"
- "idls/**"
- "service/frontend/service.go"
- "service/history/constants/test_constants.go"
- "service/history/execution/mutable_state.go"
- "service/history/shard/contextTest.go"
- "service/history/workflow/errors.go"
- "service/history/service.go"
- "service/matching/service.go"
- "service/matching/tasklist/testing.go"
- "service/worker/service.go"
- "testflags/**"
- "tools/common/schema/test/**"
- "tools/linter/**"
- "tools/matchingsimulationcomparison/**"
- "tools/cli/factory.go"