-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
88 lines (75 loc) · 1.52 KB
/
Copy pathcodecov.yml
File metadata and controls
88 lines (75 loc) · 1.52 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
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: true
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
# Fail the status if coverage drops by more than 1%
threshold: 1%
target: 80%
if_not_found: success
if_ci_failed: error
rust:
target: 80%
paths:
- "goud_engine/src/**"
flags:
- rust
dotnet:
target: 80%
paths:
- "sdks/csharp/**/*.cs"
flags:
- dotnet
if_not_found: success
patch:
default:
# Require at least 80% coverage on new code
target: 80%
if_not_found: success
if_ci_failed: error
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
require_base: no
require_head: yes
flags:
rust:
paths:
- goud_engine/src/**
carryforward: false
dotnet:
paths:
- sdks/csharp/**/*.cs
carryforward: false
ignore:
# Ignore generated files
- "**/NativeMethods.g.cs"
- "**/build.rs"
- "goud_engine/src/sdk.rs" # FFI bindings
- "goud_engine/src/ffi/**" # FFI layer (thin wrappers)
# Ignore test files
- "**/tests/**"
- "**/*_test.rs"
- "**/*Test.cs"
# Ignore examples
- "examples/**"
# Ignore docs and config
- "docs/**"
- "*.md"
- "*.toml"
- "*.yml"
- "*.yaml"