forked from pulumi/pulumi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
63 lines (53 loc) · 1.45 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
coverage:
status:
# Project tracks and reports the project-level coverage.
project:
default:
informational: true
# Pulumi core
core:
informational: true
paths:
- "pkg"
- "sdk/go/common"
- "sdk/go/auto"
sdk-go:
informational: true
paths:
- "sdk/go/pulumi"
- "sdk/go/pulumi-language-go"
sdk-nodejs:
informational: true
paths:
- "sdk/nodejs"
sdk-python:
informational: true
paths:
- "sdk/python"
# Patch tracks the coverage of the changes in a single patch.
patch:
default:
# coverage for new/modified code
target: 80%
# only allow coverage to drop by 5% in new/modified code
threshold: 5%
# make codecov block PR if coverage goals aren't met
informational: false
ignore:
# Integration tests, lifecycle tests and codegen test data
# should not count against coverage.
- "tests/"
- "pkg/engine/lifecycletest/"
- "pkg/codegen/testing/test/testdata"
# Don't count protobuf-generated code against coverage.
- "sdk/proto"
# Ignore code generator for pulumix/applyn.go.
- "sdk/go/internal/gen-pux-applyn"
# More generally, none of the test data
# should count against coverage.
- "**/testdata"
# Don't comment on PRs.
comment: false
# Don't post annotations to GitHub.
github_checks:
annotations: false