forked from Dicklesworthstone/ntm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
87 lines (77 loc) · 1.65 KB
/
codecov.yml
File metadata and controls
87 lines (77 loc) · 1.65 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
# Codecov configuration for NTM
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
precision: 2
round: down
range: "40...90"
status:
project:
default:
target: 40%
threshold: 2%
informational: false
only_pulls: false
patch:
default:
target: 60%
threshold: 5%
informational: false
only_pulls: true
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "condensed_header, condensed_files, condensed_footer"
behavior: default
require_changes: true
require_base: false
require_head: true
# Don't comment on PRs with very small coverage changes
after_n_builds: 1
ignore:
- "**/*_test.go"
- "**/testdata/**"
- "**/mock_*.go"
- "**/mocks/**"
- "cmd/**" # Main entry point typically has minimal logic
flags:
unittests:
paths:
- internal/
carryforward: true
after_n_builds: 1
# Component coverage tracking
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 2%
individual_components:
- component_id: cli
name: CLI
paths:
- internal/cli/**
- component_id: tmux
name: Tmux Integration
paths:
- internal/tmux/**
- component_id: tui
name: TUI Components
paths:
- internal/tui/**
- component_id: palette
name: Command Palette
paths:
- internal/palette/**
- component_id: config
name: Configuration
paths:
- internal/config/**
# GitHub Checks integration
github_checks:
annotations: true