Skip to content

ci: disable Codecov uploads until a token is configured - #76

Merged
aclark4life merged 1 commit into
mainfrom
chore/disable-codecov
Aug 26, 2026
Merged

ci: disable Codecov uploads until a token is configured#76
aclark4life merged 1 commit into
mainfrom
chore/disable-codecov

Conversation

@aclark4life

Copy link
Copy Markdown
Collaborator

Both Codecov steps fail on every CI run:

error -- Upload queued for processing failed: {"message":"Token required because branch is protected"}

CODECOV_TOKEN is not set as a repository secret. Because both steps use
fail_ci_if_error: false, nothing was ever gated on them — but the uploads have
been silently failing, so the Codecov data is stale, and every job log carries
the error.

Disabled rather than removed, as requested: both steps stay in the workflow,
gated behind false. Re-enabling is adding the secret and dropping the two
guards.

python -m pytest --cov-report=xml --junitxml=junit.xml is unchanged, so the
artifacts are still produced and ready the moment the uploads are switched back
on.

The README Codecov badge is left in place — it will keep showing whatever the
last successful upload reported until the token is added. Say the word if you'd
rather it came out too.

🤖 Generated with Claude Code

Both upload steps fail on every run with "Token required because branch
is protected" — CODECOV_TOKEN is not set as a repository secret. The
failures are non-fatal (fail_ci_if_error: false), so nothing was gated on
them, but it means the Codecov data has been silently stale while every
job log carried the error.

Gate both steps behind `false` rather than deleting them, so re-enabling
is just removing that guard once the secret exists. The pytest invocation
still writes coverage.xml and junit.xml, so nothing else has to change.

The README Codecov badge is left in place; it will show whatever the last
successful upload reported until the token is added.
@aclark4life
aclark4life merged commit 65aaed7 into main Aug 26, 2026
12 checks passed
@aclark4life
aclark4life deleted the chore/disable-codecov branch August 26, 2026 19:35
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.

1 participant