-
Notifications
You must be signed in to change notification settings - Fork 582
Expand file tree
/
Copy pathcodecov.yml
More file actions
42 lines (37 loc) · 1.21 KB
/
codecov.yml
File metadata and controls
42 lines (37 loc) · 1.21 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
# Codecov configuration for microsoft/fhir-server
# Docs: https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
# Overall project coverage check (informational, non-blocking)
project:
default:
target: auto # Use the coverage of the base commit as the target
threshold: 1% # Allow up to 1% drop before reporting
informational: true
if_ci_failed: error
# Coverage of changed lines in the PR (informational, non-blocking)
patch:
default:
target: 70% # Require at least 70% coverage on new/changed lines
informational: true
if_ci_failed: error
# Round coverage to 2 decimal places
precision: 2
# Files/paths to ignore from coverage analysis
ignore:
- "test/**"
- "tools/**"
- "samples/**"
- "docs/**"
- "**/obj/**"
- "**/*.g.cs"
- "**/*.Designer.cs"
- "**/Modules/*Module.cs"
- "**/RegistrationExtensions.cs"
- "**/Registration/*Extensions.cs"
- "**/Extensions/ServiceCollectionExtensions.cs"
- "**/Microsoft.Health.Fhir.SqlServer/Features/Schema/Model/**"
comment:
layout: "reach,diff,flags,files"
behavior: default # Post new comment on each push
require_changes: false # Always post a comment