forked from steveyegge/gastown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
108 lines (90 loc) · 2.25 KB
/
codecov.yml
File metadata and controls
108 lines (90 loc) · 2.25 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
# Codecov configuration for Gas Town (gt) 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/**
- internal/cmd/**
- internal/cli/**
- component_id: mail-system
name: Mail & Communication
paths:
- internal/mail/**
- internal/nudge/**
- component_id: rig-management
name: Rig Management
paths:
- internal/rig/**
- internal/crew/**
- internal/polecat/**
- internal/witness/**
- internal/refinery/**
- component_id: git-operations
name: Git & Merge Queue
paths:
- internal/git/**
- internal/mq/**
- component_id: beads-integration
name: Beads & Issue Tracking
paths:
- internal/beads/**
- internal/formula/**
# Files and paths to ignore from coverage
ignore:
# Test files
- "**/*_test.go"
- "**/testdata/**"
- "**/test_helpers*.go"
# Generated files
- "internal/formula/formulas/**"
- "**/*.generated.go"
# Build artifacts and dependencies
- "**/vendor/**"
# Documentation
- "**/*.md"
- "docs/**"
# Scripts and tooling
- "scripts/**"
# npm package (separate project)
- "npm-package/**"
# E2E and container test infrastructure
- "Dockerfile*"
# Comment configuration for PR comments
comment:
layout: "condensed_header,diff,components,tree"
behavior: default
require_changes: false
# GitHub Checks configuration
github_checks:
annotations: true