github.com/Finschia/finschia-sdk@v0.48.1/codecov.yml (about)

     1  #
     2  # This codecov.yml is the default configuration for
     3  # all repositories on Codecov. You may adjust the settings
     4  # below in your own codecov.yml in your repository.
     5  #
     6  codecov:
     7    require_ci_to_pass: yes
     8    bot: Codecov bot for LINK
     9  
    10  comment:
    11    layout: "reach, diff, files"
    12    behavior: default  # update if exists else create new
    13    require_changes: false
    14  
    15  coverage:
    16    status:
    17      project:
    18        default:
    19          target: 50
    20          threshold: 1% # allow this much decrease on project
    21        app:
    22          target: 70%
    23          flags:
    24            - app
    25        modules:
    26          target: 70%
    27          flags:
    28            - modules
    29        client:
    30          flags:
    31            - client
    32      changes: false
    33    precision: 2
    34    range: 50...90
    35    round: down
    36  
    37  flags:
    38    app:
    39      paths:
    40        - "app/"
    41        - "baseapp/"
    42    modules:
    43      paths:
    44        - "x/"
    45        - "!x/**/client/" # ignore client package
    46    client:
    47      paths:
    48        - "client/"
    49        - "x/**/client/"
    50  
    51  ignore:
    52    - "docs"
    53    - "*.md"
    54    - "*.rst"
    55    - "*.yml"
    56    - "*.yaml"
    57    - "*.sh"
    58    - "*.png"
    59    - "*_test.go"
    60    - "**/*_easyjson.go"
    61    - "**/*.pb.go"
    62    - "**/*.pb.gw.go"
    63    - "scripts/"
    64    - "x/**/test_common.go"
    65    - "*_cmd.go"
    66    - "contrib"
    67    - "statik.go"
    68    - "root.go"
    69    - "x/**/module.go"
    70    - "x/**/errors.go"
    71    - "x/**/key.go"