Skip to content

ci: drop codecov upload step#114

Merged
lesnik512 merged 1 commit into
mainfrom
ci/drop-codecov
Jun 9, 2026
Merged

ci: drop codecov upload step#114
lesnik512 merged 1 commit into
mainfrom
ci/drop-codecov

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Removes the codecov/codecov-action upload step from ci.yml. Matches the sibling modern-di project's CI, which also has no codecov step. Closes the "bump vs. drop" question deferred in #113.

Why drop instead of bump

  • modern-di/_checks.yml does not run codecov. Mirroring that pattern keeps both repos in the modern-python org aligned on one CI shape.
  • Coverage is still enforced by the test run itself: pyproject.toml sets addopts = "--cov=. --cov-report term-missing --cov-fail-under=100", so any drop below 100% fails CI immediately. No external service needed to protect the floor.
  • The --cov-report xml flag on just test is kept for parity with modern-di (cheap, no consumer).

Diff

7 lines removed in .github/workflows/ci.yml (the codecov-action step, its env block, and its with block).

Operator follow-up

  • The CODECOV_TOKEN repo secret is now unused. Can be deleted from Settings → Secrets and variables → Actions whenever convenient.

Test plan

  • CI green on PR across all matrix Python versions (3.10–3.14).
  • Coverage floor still enforced by --cov-fail-under=100.

🤖 Generated with Claude Code

Matches modern-di, which removed codecov from its CI rather than bumping
codecov-action. Coverage is still computed and enforced locally:
pyproject.toml sets --cov-fail-under=100, so the floor is protected by
the test run itself.

Keeps the --cov-report xml flag for parity with modern-di (cheap, no
consumer).

Operator follow-up: the CODECOV_TOKEN repo secret is now unused and can
be deleted from Settings -> Secrets and variables -> Actions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit ea0852e into main Jun 9, 2026
7 checks passed
@lesnik512 lesnik512 deleted the ci/drop-codecov branch June 9, 2026 11:41
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