forked from mcuadros/ofelia
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcodecov.yml
More file actions
59 lines (58 loc) · 1.55 KB
/
Copy pathcodecov.yml
File metadata and controls
59 lines (58 loc) · 1.55 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
coverage:
status:
project:
default:
informational: true
patch:
default:
target: 80%
# Components split the coverage report along the architecture boundaries in
# ARCHITECTURE.md, so a drop is attributable to a layer rather than to the
# repository as a whole. Statuses stay informational: the gate that can fail a
# PR is the patch target above, not per-component drift.
#
# `core` excludes the adapter and persistence subtrees because those are
# reported as components of their own; without the negations their files would
# be counted in two components at once.
component_management:
default_rules:
statuses:
- type: project
informational: true
individual_components:
- component_id: core
name: core (scheduler, jobs, domain)
paths:
- core/**
- "!core/adapters/**"
- "!core/persist/**"
- component_id: adapters
name: adapters (docker, mock)
paths:
- core/adapters/**
- component_id: persist
name: persistence
paths:
- core/persist/**
- component_id: web
name: web UI and HTTP API
paths:
- web/**
- static/**
- component_id: cli
name: CLI and daemon
paths:
- cli/**
- "*.go"
- component_id: config
name: config parsing and validation
paths:
- config/**
- component_id: middlewares
name: middlewares (notifications)
paths:
- middlewares/**
- component_id: metrics
name: metrics
paths:
- metrics/**