forked from AISecurityLab/hackagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
45 lines (39 loc) · 911 Bytes
/
codecov.yml
File metadata and controls
45 lines (39 loc) · 911 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
38
39
40
41
42
43
44
45
# Codecov configuration
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
target: auto
threshold: 5% # Allow 5% drop from base
patch:
default:
target: 50% # Minimum 50% coverage on new code
threshold: 10% # Allow some flexibility
# Merge coverage from different test runs
flag_management:
default_rules:
carryforward: true
individual_flags:
- name: unit
paths:
- hackagent/
carryforward: true
- name: integration
paths:
- hackagent/
carryforward: true
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: false
# Ignore test files and generated code
ignore:
- "tests/**/*"
- "docs/**/*"
- "hackagent/examples/**/*"
- "htmlcov/**/*"
- "**/__pycache__/**"