Skip to content

Add Codecov coverage tracking and ignore dependabot in CodeRabbit#321

Merged
aallan merged 2 commits into
mainfrom
ci/codecov-and-coderabbit-ignore
Mar 19, 2026
Merged

Add Codecov coverage tracking and ignore dependabot in CodeRabbit#321
aallan merged 2 commits into
mainfrom
ci/codecov-and-coderabbit-ignore

Conversation

@aallan

@aallan aallan commented Mar 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Codecov integration: CI now generates coverage.xml and uploads to Codecov on the Python 3.12/Ubuntu matrix slot. PR comments will show coverage diff. Badge added to README.
  • CodeRabbit dependabot ignore: dependabot[bot] added to ignore_usernames so automated dependency PRs skip code review.

Setup note

Codecov needs to be enabled for the repo at codecov.io. For public repos, no token is needed — just sign in with GitHub and enable the repo. The codecov-action@v5 will auto-detect the repo on the first upload.

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Added Codecov coverage badge and integration for tracking code coverage metrics.
  • Chores

    • Enhanced continuous integration pipeline to generate and upload coverage reports.
    • Configured automated code review system to exclude bot-generated contributions.
    • Updated test allowlist entries.

aallan and others added 2 commits March 19, 2026 17:48
- CI: generate coverage.xml and upload to Codecov on Python 3.12/Ubuntu
- README: add Codecov badge
- CodeRabbit: add dependabot[bot] to ignore_usernames

Co-Authored-By: Claude <noreply@anthropic.invalid>
Codecov v5 requires a token even for public repos.

Co-Authored-By: Claude <noreply@anthropic.invalid>
@coderabbitai

coderabbitai Bot commented Mar 19, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: ddb83045-f120-48ab-a2d8-ad277c6fdd18

📥 Commits

Reviewing files that changed from the base of the PR and between ad7b39c and 03fb933.

📒 Files selected for processing (5)
  • .coderabbit.yaml
  • .github/workflows/ci.yml
  • README.md
  • scripts/check_readme_examples.py
  • tests/test_readme.py

📝 Walkthrough

Walkthrough

This PR integrates Codecov coverage reporting into the CI pipeline, adds a coverage status badge to the README, updates the CodeRabbit configuration to exclude dependabot reviews, and synchronises line number references in validation scripts.

Changes

Cohort / File(s) Summary
Configuration
.coderabbit.yaml
Added ignore_usernames list under reviews.auto_review to exclude dependabot[bot] from automated reviews.
CI and Coverage Integration
.github/workflows/ci.yml, README.md
Enhanced Ubuntu/Python 3.12 test pipeline to generate coverage in XML format and upload to Codecov via codecov/codecov-action@v5. Added Codecov coverage badge to README.
Validation Script Synchronisation
scripts/check_readme_examples.py, tests/test_readme.py
Updated line number references in ALLOWLIST entries for the "Project Roadmap" section from line 619 to 620 to maintain synchronisation with README changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Add CodeRabbit configuration #320: Modifies .coderabbit.yaml configuration to introduce review settings, directly related to the ignore_usernames configuration addition in this PR.

Suggested labels

ci, docs, tests

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and accurately summarizes the two main changes: Codecov coverage tracking integration and dependabot ignore configuration in CodeRabbit.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/codecov-and-coderabbit-ignore
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@aallan aallan merged commit 37adda5 into main Mar 19, 2026
12 checks passed
@aallan aallan deleted the ci/codecov-and-coderabbit-ignore branch March 19, 2026 17:57
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