Skip to content

ci: exclude testing/ from Codecov coverage reports#439

Merged
poolpOrg merged 1 commit into
mainfrom
ci/codecov-ignore-testing
May 25, 2026
Merged

ci: exclude testing/ from Codecov coverage reports#439
poolpOrg merged 1 commit into
mainfrom
ci/codecov-ignore-testing

Conversation

@poolpOrg
Copy link
Copy Markdown
Contributor

Summary

Adds a `codecov.yml` that ignores `testing/**` so test-helper code does not skew the project coverage number reported by Codecov.

`testing/` exists to support other packages' tests; its own line coverage is just an artefact of which helpers happened to be exercised. Excluding it keeps the dashboard focused on production code.

The PR doesn't touch `go test` — local coverage runs are unaffected; only Codecov's report/PR comments change.

Test plan

  • After merge, the next Codecov upload should drop `testing/` from the file list and recompute the project total

🤖 Generated with Claude Code

testing/ holds test helpers used by other packages' tests. Its own
"coverage" is an artefact of whoever happens to import it, not a real
quality signal, so it skews the project number. Add a codecov.yml
ignore so reports and PR comments focus on production code.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@poolpOrg poolpOrg merged commit 0cd7aba into main May 25, 2026
7 checks passed
@poolpOrg poolpOrg deleted the ci/codecov-ignore-testing branch May 25, 2026 21:22
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