-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcodecov.yml
64 lines (57 loc) · 1.29 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
# Codecov Repository YAML
# https://docs.codecov.com/docs/codecov-yaml
coverage:
# https://docs.codecov.com/docs/commit-status
status:
project:
default:
target: 80%
threshold: 100%
if_not_found: success
if_ci_failed: success
patch:
default:
target: 0%
threshold: 100%
if_not_found: success
# https://docs.codecov.com/docs/components#component-options
component_management:
default_rules:
statuses:
- type: project
target: auto
branches:
- "!main"
individual_components:
- component_id: controllers
name: Controllers
paths:
- 'src/Dotnet.Samples.AspNetCore.WebApi/Controllers/'
- component_id: services
name: Services
paths:
- 'src/Dotnet.Samples.AspNetCore.WebApi/Services/'
comment:
layout: "header, diff, flags, components"
behavior: default
require_changes: false
# https://docs.codecov.com/docs/ignoring-paths
ignore:
- .*\.sln
- .*\.csproj
- .*\.json
- .*\.yml
- .*\.png
- '**/*.md'
- .*\/test\/.*
- .*\/Program\.cs
- '**/LICENSE'
- '**/README.md'
- .*\/Data\/.*
- .*\/Enums\/.*
- .*\/Mappings\/.*
- .*\/Migrations\/.*
- .*\/Models\/.*
- .*\/Properties\/.*
- .*\/Utilities\/.*
- .*\/Validators\/.*