Skip to content

ci: switch from coveralls to codecov for coverage reporting - #2144

Merged
oleonardolima merged 1 commit into
bitcoindevkit:masterfrom
shubham-shinde-442:ci/switch-to-codecov
May 8, 2026
Merged

ci: switch from coveralls to codecov for coverage reporting#2144
oleonardolima merged 1 commit into
bitcoindevkit:masterfrom
shubham-shinde-442:ci/switch-to-codecov

Conversation

@shubham-shinde-442

@shubham-shinde-442 shubham-shinde-442 commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

closes #2093

Description

Migrates code coverage reporting from Coveralls to Codecov.

  • Replaced coverage service: Switched from coverallsapp/github-action to codecov/codecov-action@v5.5.2 (pinned commit SHA for security)
  • Added permissions: Added contents: read and pull-requests: write to enable Codecov PR comments
  • Codecov configuration: Added flags: rust and name: codecov-bdk for better organization

Changelog notice

### Changed
- chore(ci): switch from coveralls to codecov

All Submissions:

@codecov

codecov Bot commented Mar 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.86%. Comparing base (8dd0209) to head (2a42f25).
⚠️ Report is 1592 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2144      +/-   ##
==========================================
- Coverage   77.36%   76.86%   -0.51%     
==========================================
  Files          35       29       -6     
  Lines        9035     5688    -3347     
  Branches        0      254     +254     
==========================================
- Hits         6990     4372    -2618     
+ Misses       2045     1246     -799     
- Partials        0       70      +70     
Flag Coverage Δ
rust 76.86% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

notmandatory
notmandatory previously approved these changes Mar 12, 2026

@notmandatory notmandatory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@notmandatory notmandatory moved this to Needs Review in BDK Chain Mar 12, 2026
@notmandatory notmandatory added the chore Non-coding related work label Mar 12, 2026
@notmandatory notmandatory added this to the Chain 0.24.0 milestone Mar 12, 2026
Comment thread .github/workflows/code_coverage.yml
Comment thread .github/workflows/code_coverage.yml Outdated
@notmandatory
notmandatory dismissed their stale review May 2, 2026 22:22

Needs to re-review to make sure it works the same as bdk_wallet.

@oleonardolima
oleonardolima force-pushed the ci/switch-to-codecov branch 5 times, most recently from 74b2915 to fb6d71e Compare May 5, 2026 18:59
- update the `code_coverage.yml` CI job to use codecov instead of
  coveralls, copied from `bdk_wallet` repository.

@oleonardolima oleonardolima left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

self-ACK 2a42f25

@notmandatory notmandatory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 2a42f25

@oleonardolima oleonardolima added the github_actions Pull requests that update GitHub Actions code label May 8, 2026
@oleonardolima
oleonardolima merged commit 249413e into bitcoindevkit:master May 8, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in BDK Chain May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Non-coding related work github_actions Pull requests that update GitHub Actions code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[coverage] Switch to codecov/codecov-action

4 participants