-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathcodecov.yml
More file actions
37 lines (33 loc) · 992 Bytes
/
codecov.yml
File metadata and controls
37 lines (33 loc) · 992 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
# Codecov configuration
# https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
# Project coverage - overall repo coverage
project:
default:
# Don't fail if coverage drops slightly
threshold: 1%
# Only fail if coverage is below this absolute value
# Current coverage is ~26%, set target slightly below
target: 25%
# Patch coverage - coverage of changed lines in PR
patch:
default:
# Be lenient on patch coverage since we have config/setup code
# that's hard to test without complex mocking
target: 50%
threshold: 5%
# Ignore certain paths from coverage
ignore:
- "website/**/*"
- "tests/**/*"
- "**/*.test.ts"
- "dist/**/*"
# TUI components are React/blessed rendering code - hard to unit test meaningfully
- "src/tui/**/*"
- "src/commands/**/*.tsx"
# Comment settings for PRs
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: true