-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathcodecov.yml
More file actions
73 lines (72 loc) · 2.25 KB
/
Copy pathcodecov.yml
File metadata and controls
73 lines (72 loc) · 2.25 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
codecov:
branch: develop
max_report_age: '12h'
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project # in this case every component that doens't have a status defined will have a project type one
threshold: 0 # Shouldn't remove coverage
individual_components:
- component_id: codegen-sdk-python # this is an identifier that should not be changed
name: codegen-sdk-python # this is a display name, and can be changed freely
paths:
- src/codegen/sdk/python/**
statuses:
- type: project # in this case every component that doens't have a status defined will have a project type one
threshold: 0 # Shouldn't remove coverage
- type: patch
target: 50 # Language specific featues must be 100% covered
flags:
- unit-tests
- component_id: codegen-sdk-typescript
name: codegen-sdk-typescript
paths:
- src/codegen/sdk/typescript/**
statuses:
- type: project # in this case every component that doens't have a status defined will have a project type one
threshold: 0 # Shouldn't remove coverage
- type: patch
target: 50 # Language specific featues must be 100% covered
flags:
- unit-tests
- component_id: codegen-sdk-core
name: codegen-sdk-core
paths:
- src/codegen/sdk/**
flags:
- unit-tests
flag_management:
default_rules:
carryforward: true
carryforward_mode: 'labels'
statuses:
- type: project
individual_flags:
- name: unit-tests
carryforward: true
carryforward_mode: 'labels'
statuses:
- type: 'project'
- type: 'patch'
- name: codemod-tests
carryforward: true
carryforward_mode: 'labels'
- name: integration-tests
carryforward: true
carryforward_mode: 'labels'
comment:
layout: "condensed_header, condensed_files"
hide_project_coverage: true
cli:
plugins:
pycoverage:
report_type: 'json'
include_contexts: true
runners:
pytest:
coverage_root: "./"
execute_tests_options:
- "cov-report=xml"
- "--verbose"
- "-n=auto"
python_path: ".venv/bin/python"