Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

1.5 KB
Raw Blame
# see https://docs.codecov.io/docs/codecov-yaml
# Validation check:
# $ curl --data-binary @.codecov.yml https://codecov.io/validate


# https://docs.codecov.io/docs/codecovyml-reference
codecov:
  bot: "codecov-io"
  strict_yaml_branch: "yaml-config"
  require_ci_to_pass: yes
  notify:
    # after_n_builds: 2
    wait_for_ci: yes

coverage:
  precision: 2  # 2 = xx.xx%, 0 = xx%
  round: nearest # how coverage is rounded: down/up/nearest
  range: 70...100 # custom range of coverage colors from red -> yellow -> green
  status:
    # https://codecov.readme.io/v1.0/docs/commit-status
    project:
      default:
        against: auto
        target: 87% # The target should be the same of the pyproject `fail_under`
        # threshold: 30% # allow this little decrease on project
        # https://github.com/codecov/support/wiki/Filtering-Branches
        # branches: main
        if_ci_failed: error
    # https://github.com/codecov/support/wiki/Patch-Status
    patch: # is the coverage percentage of the number of lines touched in your patch (the git diff)
      default:
        against: auto
        target: 87% # The target should be the same of the pyproject `fail_under`
        # threshold: 50% # allow this much decrease on patch
    changes: false

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
  # branches: *