codecov.yml
ignore:
- "**/third_party/**"
- "**/Unit_Testing/**"
- "**/test/**"
- "**/androidTest/**"
- "gradlew"
codecov:
require_ci_to_pass: true
bot: "codecov-bot"
strict_yaml_branch: "master"
max_report_age: off
disable_default_path_fixes: false
notify:
after_n_builds: 1
wait_for_ci: true
coverage:
precision: 2
round: down
range: "0..100"
status:
default_rules:
flag_coverage_not_uploaded_behavior: include
project:
default:
target: 56%
# Note that code coverage requires the following tests to validate the whole codebase:
# * Android tests (from Android workflow)
# * Native tests (from Native workflow)
# * Shell script tests (from Code Analysis workflow)
# So, if not all workflows above were executed, then the code coverage is not valid, and thus it was added a threshold because of that.
threshold: 53%
if_ci_failed: error
informational: false
only_pulls: false
patch:
default:
target: auto
threshold: 100%
if_ci_failed: error
informational: false
only_pulls: false
parsers:
gcov:
branch_detection:
conditional: true
loop: true
method: false
macro: false
comment:
layout: "reach,diff,flags,tree"
behavior: "default"
require_changes: false
require_head: no
require_base: no
show_carryforward_flags: false
github_checks:
annotations: true