Skip to content

codecov.io now wants a token #454

@flying-sheep

Description

@flying-sheep

the coverage job should therefore look like this:

- name: Upload coverage data
  if: ${{ !cancelled() }}
  uses: codecov/codecov-action@v5
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    fail_ci_if_error: true
  • if: ${{ !cancelled() }} (maybe) to upload coverage even when tests fail.
  • fail_ci_if_error: true to prevent that step from silently not working

and we should mention to (how to) add the CODECOV_TOKEN secret if we don’t already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions