Codecov commit status is not reported to the PR

Description

I cannot make codecov report coverage as a PR status check.

Repository

CI/CD

Travis

Uploader

codecov

Commit SHAs

N/A

Codecov YAML

I set comment: false to not get the regular PR comments (I want commit status updates!) and informational: true to not fail the build.

comment: false
ignore:
  - server/athenian/api/hacks/reproduce_bug.py
coverage:
  status:
    project:
      default:
        target: auto
        threshold: 0%
        base: auto
        informational: true
        paths:
          - "server/athenian/api"

Codecov Output

All is working good here: https://codecov.io/gh/athenianco/athenian-api/commit/50360ea79ef3491b9272ffc949db13ab0836bf62

Steps to Reproduce

N/A

Expected behavior:

The third green checkmark in the list of PR checks.

Actual behavior:

No third checkmark.

Flakiness?

100%

Additional Information

N/A

Answering myself: I lacked the necessary permissions at https://github.com/settings/connections/applications/c68c81cbfd179a50784a As soon as I enabled “codecov” there, it started to work.

1 Like