-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codecov.yml
More file actions
46 lines (40 loc) · 1.21 KB
/
.codecov.yml
File metadata and controls
46 lines (40 loc) · 1.21 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
# CodeCov Configuration
# Documentation: https://docs.codecov.com/docs/codecov-yaml
# Coverage reporting settings
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
# Set to informational so it won't fail CI
# This allows coverage visibility without blocking merges
informational: true
target: auto
threshold: 5%
patch:
default:
# Informational mode for new code changes
informational: true
target: auto
threshold: 5%
# Files and paths to ignore from coverage reports
ignore:
- "cmd/server/main.go" # Application entry point
- "cmd/migrate/main.go" # Migration CLI entry point
- "api/docs/**" # Auto-generated Swagger docs
- "**/*_test.go" # Test files
- "**/*_mock.go" # Mock files
- "scripts/**" # Shell scripts
- "migrations/**" # SQL migrations
# Comment settings for pull requests
comment:
layout: "reach,diff,flags,tree,footer"
behavior: default
require_changes: false
require_base: false
require_head: true
# GitHub checks integration
github_checks:
annotations: true