forked from javaparser/javaparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
90 lines (70 loc) · 3.38 KB
/
codecov.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
codecov:
require_ci_to_pass: true
coverage:
## Configure decimal places, rounding, and the colour ranges used:
## https://docs.codecov.com/docs/coverage-configuration
precision: 3
round: down
range: "70...90" # Colour range - 70% coverage (and below) is solid red, 90% coverage (and above) is solid green.
## These statuses show at the bottom of the PR.
## Split the coverage reporting into sub-projects.
## https://docs.codecov.io/docs/commit-status
## https://docs.codecov.io/docs/codecovyml-reference#coveragestatus
status:
## Status configuration of the whole project
project:
whole_project: ## Whole project (note no flags specified)
target: auto ## Increase overall coverage on each pull request (compared to the previous base commit)
threshold: 0.5% ## Flexibility in allowing a minor drop in coverage
javaparser-core: ## Just JavaParser Core
target: auto ## Increase overall coverage on each pull request (compared to the previous base commit)
threshold: 0.5% ## Flexibility in allowing a minor drop in coverage
## TBC: Unclear if setting flags AND paths is redundant
flags:
- javaparser-core
paths:
- javaparser-core/src/main/java*
- javaparser-core-testing/src/test/java*
- javaparser-core-testing-bdd/src/test/java*
javaparser-symbol-solver: ## Just the Symbol Solver
target: auto ## Increase overall coverage on each pull request (compared to the previous base commit)
threshold: 0.5% ## Flexibility in allowing a minor drop in coverage
## TBC: Unclear if setting flags AND paths is redundant
flags:
- javaparser-symbol-solver
paths:
- javaparser-symbol-solver-core/src/main/java*
- javaparser-symbol-solver-testing/src/test/java*
## Status configuration of ONLY the changed lines
patch:
## Configuration of the comments that get added to PRs
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: false
### Do not comment on the PR until coverage reports for all builds has been received
### Note: 54 = three OSs (mac, windows, ubuntu) x nine java levels (8,9,10,11,12,13,14,15,16) x two modules (jp-core, jss)
after_n_builds: 54
## Flags defined elsewhere MUST also be defined here (required for GitHub PR checks information)
flags:
javaparser-core:
paths:
- javaparser-core/src/main/java*
- javaparser-core-testing/src/test/java*
- javaparser-core-testing-bdd/src/test/java*
carryforward: false
javaparser-symbol-solver:
paths:
- javaparser-symbol-solver-core/src/main/java*
- javaparser-symbol-solver-testing/src/test/java*
carryforward: false
# ## New section re: flags
# ## No individual flags are added to YAML and flag names are automatically ingested from the Uploader
# ## https://docs.codecov.com/docs/flags
# flag_management:
# default_rules:
# carryforward: false
ignore:
- "/javaparser-core/src/main/java-templates/**" ## This source is ...
# - "/javaparser-core/src/main/javacc-support/**" ## This source is generated by JavaCC
- "/javaparser-symbol-solver-testing/src/test/test_sourcecode/**" ## This source is used as inputs to test cases