github.com/kubewharf/katalyst-core@v0.5.3/codecov.yml (about)

     1  coverage:
     2    status:
     3      project:
     4        # global coverage
     5        default:
     6          target: auto
     7          threshold: 2%
     8          flags:
     9            - unittest
    10          paths:
    11            - "pkg"
    12          if_ci_failed: error
    13          if_no_uploads: success
    14          if_not_found: success
    15      patch:
    16        # diff coverage
    17        default:
    18          target: 50%
    19          flags:
    20            - unittest
    21          paths:
    22            - "pkg"
    23          if_ci_failed: error
    24          if_no_uploads: success
    25          if_not_found: success
    26  
    27  ignore:
    28    - "**/*_generated.*"
    29    - "pkg/config/**/*.*"
    30  
    31  github_checks:
    32    annotations: true