2019-08-19 10:35:09 +00:00
|
|
|
# see https://docs.codecov.io/docs/codecov-yaml
|
|
|
|
# Validation check:
|
|
|
|
# $ curl --data-binary @.codecov.yml https://codecov.io/validate
|
|
|
|
|
2020-03-14 17:01:57 +00:00
|
|
|
|
|
|
|
# https://docs.codecov.io/docs/codecovyml-reference
|
2019-08-05 20:02:05 +00:00
|
|
|
codecov:
|
2020-03-14 17:01:57 +00:00
|
|
|
bot: "codecov-io"
|
|
|
|
strict_yaml_branch: "yaml-config"
|
|
|
|
require_ci_to_pass: yes
|
2019-08-05 20:02:05 +00:00
|
|
|
notify:
|
2020-03-14 17:01:57 +00:00
|
|
|
# after_n_builds: 2
|
|
|
|
wait_for_ci: yes
|
2019-08-05 20:02:05 +00:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
precision: 0 # 2 = xx.xx%, 0 = xx%
|
|
|
|
round: nearest # how coverage is rounded: down/up/nearest
|
|
|
|
range: 40...100 # custom range of coverage colors from red -> yellow -> green
|
|
|
|
status:
|
|
|
|
# https://codecov.readme.io/v1.0/docs/commit-status
|
|
|
|
project:
|
|
|
|
default:
|
|
|
|
against: auto
|
2019-08-06 21:24:09 +00:00
|
|
|
target: 99% # specify the target coverage for each commit status
|
2020-03-14 17:01:57 +00:00
|
|
|
threshold: 30% # allow this little decrease on project
|
2019-08-05 20:02:05 +00:00
|
|
|
# https://github.com/codecov/support/wiki/Filtering-Branches
|
|
|
|
# branches: master
|
|
|
|
if_ci_failed: error
|
|
|
|
# https://github.com/codecov/support/wiki/Patch-Status
|
|
|
|
patch:
|
|
|
|
default:
|
|
|
|
against: auto
|
2020-03-14 17:01:57 +00:00
|
|
|
target: 50% # specify the target "X%" coverage to hit
|
2019-08-05 20:02:05 +00:00
|
|
|
# threshold: 50% # allow this much decrease on patch
|
|
|
|
changes: false
|
2019-08-07 16:27:52 +00:00
|
|
|
|
2019-08-05 20:02:05 +00:00
|
|
|
parsers:
|
|
|
|
gcov:
|
|
|
|
branch_detection:
|
|
|
|
conditional: true
|
|
|
|
loop: true
|
|
|
|
macro: false
|
|
|
|
method: false
|
|
|
|
javascript:
|
|
|
|
enable_partials: false
|
|
|
|
|
|
|
|
comment:
|
|
|
|
layout: header, diff
|
|
|
|
require_changes: false
|
|
|
|
behavior: default # update if exists else create new
|
2019-08-06 21:24:09 +00:00
|
|
|
# branches: *
|
2019-08-07 16:01:18 +00:00
|
|
|
|