-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathcodecov.yml
More file actions
54 lines (51 loc) · 1.14 KB
/
codecov.yml
File metadata and controls
54 lines (51 loc) · 1.14 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
coverage:
status:
patch:
default:
target: 90%
threshold: 1%
# Show "Coverage by Flag" (unit, integration, install) in PR comments
comment:
layout: "diff, flags, files"
# Remap absolute paths from CI workspace (GitHub Actions runner) to repo-relative
# paths so coverage reports (e.g. bashcov, vitest) match source paths in the repo.
fixes:
- "/home/runner/work/talawa-api/talawa-api/::"
flags:
unit:
carryforward: false
paths:
- src/config/
- src/fastifyPlugins/
- src/observability/
- src/plugin/
- src/plugins/
- src/routes/
- src/services/
- src/setup/
- src/types/
- src/utilities/
- src/workers/
- src/*.ts
integration:
carryforward: false
paths:
- src/drizzle/
- src/graphql/
- src/install/
install:
carryforward: false
paths:
- scripts/install/
flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: auto
threshold: 1%
name_prefix: project-
- type: patch
target: 80%
threshold: 1%
name_prefix: patch-