Patch coverage being posted instead of project

Description

In the codecov.yml the coverage that’s being defined is project coverage. However, when the notification posts back to github it’s listed as “codecov/patch” coverage. I’m hoping this is the reason why I’m seeing the behavior mentioned in Relative coverage increase; I don’t care about incremental coverage, I only want to check project-wide coverage deltas.

Repository

private

Versions

This is checking node code, ci is circleci, repo is hosted in github.

Additional Information

Codecov definition:

codecov:
  require_ci_to_pass: no
  notify:
    wait_for_ci: no

coverage:
  status:
    project:
      default:
        target: auto
        base: auto
        threshold: 0%
        if_ci_failed: error
        paths:
          - src
          - types
          - client

Hey @noahw3, sorry for lengthy delay, please see my response on this here: Relative coverage increase - #2 by noahw3

On this YAML itself, you can be even more explicit and turn patch coverage off as follows:

codecov:
  require_ci_to_pass: no
  notify:
    wait_for_ci: no

coverage:
  status:
    project:
      default:
        target: auto
        base: auto
        threshold: 0%
        if_ci_failed: error
        paths:
          - src
          - types
          - client
    patch: off