forked from mesa/mesa-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yaml
More file actions
41 lines (35 loc) · 1018 Bytes
/
codecov.yaml
File metadata and controls
41 lines (35 loc) · 1018 Bytes
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
# Codecov configuration file
# See: https://docs.codecov.io/docs/codecovyml-reference
coverage:
status:
project:
default:
# Target minimum coverage ratio for the entire project
target: 80%
# Allow coverage to drop by up to 2% while still succeeding
threshold: 2%
patch:
default:
# Target coverage ratio for new/modified code
target: 80%
# Only check coverage on files changed in the PR
only_pulls: true
# Don't mark the build as failing if coverage drops in non-PR builds
require_ci_to_pass: false
# Ignore test files and virtual environments
ignore:
- "tests/**/*"
- "venv/**/*"
- ".venv/**/*"
# Configuration for PR comments
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: true # Only post comment if coverage changes
require_base: false
require_head: true
# Report coverage even if builds are failing
codecov:
require_ci_to_pass: false
notify:
after_n_builds: 1