forked from gastownhall/beads
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
116 lines (98 loc) · 2.46 KB
/
codecov.yml
File metadata and controls
116 lines (98 loc) · 2.46 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Codecov configuration for beads (bd) CLI
# https://docs.codecov.com/docs/codecovyml-reference
#
# Strategy: single upload, no flags. Domain-level views via components.
codecov:
branch: main
max_report_age: off
notify:
after_n_builds: 1
wait_for_ci: true
# Coverage status configuration
coverage:
status:
project:
# Overall project coverage
default:
target: auto
threshold: 5%
# Patch coverage (for new code in PRs)
patch:
default:
target: 60%
threshold: 10%
# Component management for domain-based coverage views
# Components are purely configuration-driven — no upload-time setup needed
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 5%
informational: true
individual_components:
- component_id: cli-commands
name: CLI Commands
paths:
- cmd/**
- component_id: storage-engine
name: Storage & Database
paths:
- internal/storage/**
- internal/compact/**
- internal/configfile/**
- internal/lockfile/**
- component_id: sync-git
name: Sync & Git Operations
paths:
- internal/git/**
- internal/syncbranch/**
- internal/hooks/**
- component_id: query-engine
name: Query & Filtering
paths:
- internal/query/**
- internal/validation/**
- internal/timeparsing/**
- component_id: integrations
name: External Integrations
paths:
- internal/jira/**
- internal/linear/**
- internal/gitlab/**
- internal/tracker/**
- component_id: core-types
name: Core Types & Utilities
paths:
- internal/types/**
- internal/idgen/**
- internal/utils/**
- internal/beads/**
- internal/config/**
# Files and paths to ignore from coverage
ignore:
# Test files
- "**/*_test.go"
- "**/testdata/**"
- "**/testutil/**"
- "**/test_helpers*.go"
# Generated files
- "internal/formula/formulas/**"
- "**/*.generated.go"
# Build artifacts and dependencies
- "**/vendor/**"
# Documentation
- "**/*.md"
- "docs/**"
# Scripts and tooling
- "scripts/**"
# Templates
- "internal/templates/**"
# Comment configuration for PR comments
comment:
layout: "condensed_header,diff,components,tree"
behavior: default
require_changes: false
# GitHub Checks configuration
github_checks:
annotations: true