github.com/pingcap/failpoint@v0.0.0-20240412033321-fd0796e60f86/.codecov.yml (about)

     1  codecov:
     2    notify:
     3      require_ci_to_pass: yes
     4  
     5  coverage:
     6    precision: 4
     7    round: down
     8    range: "65...90"
     9  
    10    status:
    11      project:
    12        default:
    13          threshold: 20  #Allow the coverage to drop by threshold%, and posting a success status.
    14      patch:
    15        default:
    16          target: 0% # trial operation
    17      changes: no
    18  
    19  parsers:
    20    gcov:
    21      branch_detection:
    22        conditional: yes
    23        loop: yes
    24        method: no
    25        macro: no
    26  
    27  comment:
    28    layout: "header, diff"
    29    behavior: default
    30    require_changes: no
    31  
    32  ignore:
    33    - "LICENSES"
    34    - "*_test.go"
    35    - "marker.go" # This file only contains empty function stub
    36    - "failpoint-ctl" # Ignore the `failpoint-ctl` command line tool
    37    - ".git"
    38    - "*.yml"
    39    - "*.md"