github.com/codeready-toolchain/api@v0.0.0-20240507023248-73662d6db2c5/.codecov.yaml (about)

     1  codecov:
     2    max_report_age: "off"  # see https://docs.codecov.io/docs/codecov-yaml#section-expired-reports
     3  
     4  # See http://docs.codecov.io/docs/coverage-configuration
     5  coverage:
     6    precision: 2  # 2 = xx.xx%, 0 = xx%
     7    round: down
     8    # For example: 20...60 would result in any coverage less than 20%
     9    # would have a red background. The color would gradually change to
    10    # green approaching 60%. Any coverage over 60% would result in a
    11    # solid green color.
    12    range: "20...60"
    13  
    14    status:
    15      # project will give us the diff in the total code coverage between a commit
    16      # and its parent
    17      project: yes
    18      # Patch gives just the coverage of the patch
    19      patch: yes
    20      # changes tells us if there are unexpected code coverage changes in other files
    21      # which were not changed by the diff
    22      changes: yes
    23  
    24    # See http://docs.codecov.io/docs/ignoring-paths
    25    ignore:
    26      - "vendor/*"
    27      - "make/*"
    28      - "build/*"
    29      - "example/*"
    30      - "openshift-ci/*"
    31      - "**/zz_*.go"
    32  
    33  # See http://docs.codecov.io/docs/pull-request-comments-1
    34  comment:
    35    layout: "header, diff, tree"
    36    # default = posts once then update, posts new if delete
    37    # once = post once then updates
    38    # new = delete old, post new
    39    # spammy = post new
    40    behavior: "new"