Skip to content

Commit 00fb595

Browse files
committed
Add codecov.yml
1 parent aa5055b commit 00fb595

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

codecov.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Codecov Configuration
2+
# https://docs.codecov.com/docs/codecov-yaml
3+
4+
# Coverage settings
5+
coverage:
6+
precision: 2
7+
round: down
8+
range: 60..100
9+
10+
status:
11+
project:
12+
default:
13+
target: 60%
14+
threshold: 5%
15+
if_ci_failed: error
16+
17+
patch:
18+
default:
19+
target: 70%
20+
threshold: 5%
21+
if_ci_failed: error
22+
23+
# Only track files in the /core directory
24+
ignore:
25+
- "tools/**/*"
26+
- "external/**/*"
27+
- "target/**/*"
28+
- "tests/**/*"
29+
- "book/**/*"
30+
- "**/test_data/**/*"
31+
- "**/tests/**/*"
32+
- "**/*.md"
33+
- "**/*.yml"
34+
- "**/*.yaml"
35+
- "**/*.toml"
36+
- "**/*.json"
37+
38+
# Specify paths to track
39+
fixes:
40+
- "core/::"
41+
42+
# Comment settings for pull requests
43+
comment:
44+
layout: "header, diff, flags, components, files, footer"
45+
behavior: default
46+
require_changes: false
47+
require_base: false
48+
require_head: true
49+
50+
# Component configuration - track each core crate separately
51+
component_management:
52+
individual_components:
53+
- component_id: ast
54+
name: "AST"
55+
paths:
56+
- core/ast/**
57+
58+
- component_id: cli
59+
name: "CLI"
60+
paths:
61+
- core/cli/**
62+
63+
- component_id: inference
64+
name: "Inference Core"
65+
paths:
66+
- core/inference/**
67+
68+
- component_id: wasm-codegen
69+
name: "WASM Codegen"
70+
paths:
71+
- core/wasm-codegen/**
72+
73+
- component_id: wasm-to-v
74+
name: "WASM to V Translator"
75+
paths:
76+
- core/wasm-to-v/**
77+
78+
# Flag management for better organization
79+
flag_management:
80+
default_rules:
81+
carryforward: true
82+
83+
# GitHub checks
84+
github_checks:
85+
annotations: true

0 commit comments

Comments
 (0)