Codecov.yml status contexts not working with GitHub Actions

Description

When running codecov upload in GitHub actions, the status contexts configured in my codecov.yml aren’t being applied. Example PR and the config is here

Repository

Steps to Reproduce

  1. Create a PR on a repo with a codecov.yml and github actions, using the codecov action
  2. Wait for CI status to complete
  3. See that the status checks only report project and patch, not the individual contexts

Expected behavior: The codecov.yml should be defining the contexts for the status checks and has in the past without issue.

Actual behavior: It seems to fall back to the default config, not respecting the codecov.yml at all.

Flakiness? Seems to happen all the time, but only since I switched to github actions from travis CI.

Versions

Occurs regardless of OS/browser

Additional Information

N/A

Hi @linuxdaemon, looks like there was a bug in your config. Can you try this and see if it works?

comment:
  require_changes: yes
coverage:
  status:
    patch:
      default: false
      tests:
        target: 100%
        paths:
          - "tests/"
      core:
        paths:
          - "cloudbot/"
        target: 100%
      plugins:
        paths:
          - "plugins/"
    project:
      tests:
        target: 100%
        paths:
          - "tests/"
      core:
        paths:
          - "cloudbot/"
      plugins:
        paths:
          - "plugins/"
1 Like