bioio icon indicating copy to clipboard operation
bioio copied to clipboard

Codecov reports upload fails in CI

Open imagejan opened this issue 1 year ago • 1 comments

Describe the Bug

It seems that codecov reports aren't uploaded during CI runs since quite a while: https://app.codecov.io/gh/bioio-devs/bioio/commits

The "Upload Codecov" step fails with:

error - 2024-12-03 17:32:22,145 -- Upload failed: {"message":"Token required because branch is protected"}

... but doesn't fail the GitHub Actions workflow.

Expected Behavior

With the current setup in .github/workflows, coverage reports should be uploaded for every commit.

Proposed solution

Add a CODECOV_TOKEN secret to the bioio-devs org if not yet present, and use that token in the codecov-action: https://github.com/bioio-devs/bioio/blob/abbab2cd54e2bee6eae5f92b655820ecbb68e968/.github/workflows/ci.yml#L63-L64

Environment

GitHub Actions

imagejan avatar Jan 09 '25 07:01 imagejan

I will look into this!

BrianWhitneyAI avatar Nov 18 '25 21:11 BrianWhitneyAI