-
-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path.codecov.yml
More file actions
36 lines (30 loc) · 1.12 KB
/
.codecov.yml
File metadata and controls
36 lines (30 loc) · 1.12 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
# For more configuration details:
# https://docs.codecov.com/docs/codecov-yaml
# Check if this file is valid by running in bash:
# curl -X POST --data-binary @.codecov.yml https://codecov.io/validate
# or run this inPowerShell (Windows):
# Invoke-WebRequest -Uri "https://codecov.io/validate" -Method Post -InFile ".codecov.yml" -ContentType "application/x-yaml"
codecov:
require_ci_to_pass: yes # Only report if CI runs successfully
notify:
after_n_builds: 1 # Post reports after at least one build finishes
coverage:
status:
project:
default:
target: 90% # Desired coverage
threshold: 5% # Allows slight drops before failing
base: auto # Compares against the base branch
patch:
default:
target: 75% # Ensures new changes have appropriate coverage
threshold: 5%
base: auto
ignore:
- "tests/*" # Ignore test files
- "optiland/database/generate_csv_database.py"
- "optiland_gui/*" # Ignore GUI files
comment:
layout: "reach, diff, files"
require_changes: no # Post even if no coverage changes
behavior: default # Uses default commenting behavior