forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.codecov.yml
More file actions
50 lines (48 loc) · 1.22 KB
/
Copy path.codecov.yml
File metadata and controls
50 lines (48 loc) · 1.22 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
codecov:
max_report_age: off
# Wait for all CI jobs to complete before sending codecov status
require_ci_to_pass: yes
coverage:
status:
project:
default:
# Only fail if the coverage decreases by more than 1%
threshold: 1%
# Adjusts base to account for removed code - encourages cleanup
removed_code_behavior: adjust_base
patch:
default:
target: 80%
# Disable carryforward so coverage reflects what's actually tested in each commit.
# With carryforward enabled, removing a test would still show code as covered (stale data).
flags:
python:
carryforward: false
gradle:
carryforward: false
node:
carryforward: false
ignore:
- "**/build/**"
- "**/buildSrc/**"
- "**/*Test*/**"
- "**/*test*/**"
- "**/node_modules/**"
- "**/cdk.out/**"
- "**/config/**"
- "**/*.xml"
- "**/*.config"
- "**/migrationAssistantWithArgo/**"
- "**/dashboardsSanitizer/**"
- "**/DocumentsFromSnapshotMigration/docker/**"
- "**/jenkinsdocker/**"
- "**/__init__.py"
- "**/testAutomation/**"
- "**/integ_test/**"
- "**/setup.py"
- "**/jest.config.js"
- "**/coverage/**/*"
- "**/generated/**"
- "**/orchestrationSpecs/**"
- "**/Dockerfile*"
- "**/*.sh"