forked from BoundaryML/baml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
193 lines (181 loc) · 5.09 KB
/
codecov.yml
File metadata and controls
193 lines (181 loc) · 5.09 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
coverage:
status:
project:
default:
# basic
target: auto
threshold: 0%
base: auto
informational: true
patch:
default:
informational: true
comment:
layout: "header, diff, flags, components" # show component info in the PR comment
behavior: default
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [true :: must have a base report to post]
require_head: true # [true :: must have a head report to post]
hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage]
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project # in this case every component that doesn't have a status defined will have a project type one
target: auto
branches:
- "!main"
individual_components:
# CLI and main tools
- component_id: baml_cli
name: CLI
paths:
- engine/cli/**
- component_id: baml_language_server
name: Language Server
paths:
- engine/language_server/**
- component_id: baml_sandbox
name: Sandbox
paths:
- engine/sandbox/**
# Core libraries
- component_id: baml_core
name: Core
paths:
- engine/baml-lib/baml-core/**
- component_id: baml_ast
name: AST
paths:
- engine/baml-lib/ast/**
- component_id: baml_parser_database
name: Parser Database
paths:
- engine/baml-lib/parser-database/**
- component_id: baml_types
name: Types
paths:
- engine/baml-lib/baml-types/**
# Runtime components
- component_id: baml_runtime
name: Runtime
paths:
- engine/baml-runtime/**
statuses: # runtime is critical
- type: project
target: auto
- type: patch
- component_id: baml_rpc
name: RPC
paths:
- engine/baml-rpc/**
# Parsers and processors
- component_id: prompt_parser
name: Prompt Parser
paths:
- engine/baml-lib/prompt-parser/**
- component_id: jsonish
name: JSONish Parser
paths:
- engine/baml-lib/jsonish/**
- component_id: llm_response_parser
name: LLM Response Parser
paths:
- engine/llm-response-parser/**
# LLM client
- component_id: llm_client
name: LLM Client
paths:
- engine/baml-lib/llm-client/**
# Template engines
- component_id: jinja
name: Jinja
paths:
- engine/baml-lib/jinja/**
- component_id: jinja_runtime
name: Jinja Runtime
paths:
- engine/baml-lib/jinja-runtime/**
# Language clients
- component_id: language_client_cffi
name: CFFI Client
paths:
- engine/language_client_cffi/**
- component_id: language_client_python
name: Python Client
paths:
- engine/language_client_python/**
- component_id: language_client_typescript
name: TypeScript Client
paths:
- engine/language_client_typescript/**
- component_id: language_client_ruby
name: Ruby Client
paths:
- engine/language_client_ruby/ext/ruby_ffi/**
# Code generators by language
- component_id: generator_python
name: Python Generator
paths:
- engine/generators/languages/python/**
- component_id: generator_typescript
name: TypeScript Generator
paths:
- engine/generators/languages/typescript/**
- component_id: generator_ruby
name: Ruby Generator
paths:
- engine/generators/languages/ruby/**
- component_id: generator_go
name: Go Generator
paths:
- engine/generators/languages/go/**
- component_id: generator_openapi
name: OpenAPI Generator
paths:
- engine/generators/languages/openapi/**
# Generator utilities
- component_id: generators_lib
name: Generators Library
paths:
- engine/generators/utils/generators_lib/**
- component_id: dir_writer
name: Directory Writer
paths:
- engine/generators/utils/dir_writer/**
- component_id: test_harness
name: Test Harness
paths:
- engine/generators/utils/test_harness/**
# Other components
- component_id: baml_diagnostics
name: Diagnostics
paths:
- engine/baml-lib/diagnostics/**
- component_id: baml_log
name: Logging
paths:
- engine/baml-lib/baml-log/**
- component_id: baml_derive
name: Derive Macros
paths:
- engine/baml-lib/baml-derive/**
- component_id: baml_ids
name: IDs
paths:
- engine/baml-ids/**
- component_id: bstd
name: BAML Standard Library
paths:
- engine/bstd/**
- component_id: baml_lib
name: BAML Library
paths:
- engine/baml-lib/baml/**
- component_id: baml_schema_wasm
name: Schema WASM
paths:
- engine/baml-schema-wasm/**
- component_id: baml_lsp_types
name: LSP Types
paths:
- engine/baml-lsp-types/**