Skip to content

Pass Codecov token to coverage uploads - #2642

Merged
edzer merged 2 commits into
mainfrom
copilot/fix-test-coverage-failure
Nov 20, 2026
Merged

edzer merged 2 commits into
mainfrom
copilot/fix-test-coverage-failure

Conversation

@edzer

@edzer edzer commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

The test-coverage job passed its tests but failed when Codecov rejected an unauthenticated upload from the protected branch.

  • Coverage upload: Expose the repository’s CODECOV_TOKEN secret to covr::codecov():

    env:
      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@edzer edzer changed the title [WIP] Fix failing GitHub Actions job test-coverage Pass Codecov token to coverage uploads Nov 19, 2026
@edzer
edzer marked this pull request as ready for review November 20, 2026 07:46
@edzer
edzer merged commit 973b74f into main Nov 20, 2026
8 checks passed
@kadyb

kadyb commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

@edzer, maybe we should update this workflow with upstream (https://github.com/r-lib/actions/blob/v2/examples/test-coverage.yaml)?

@edzer

edzer commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Great idea, you want to take the initiative?

@kadyb

kadyb commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Ok, no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants