Skip to content

fix(docs): add Codecov badge and always generate VitePress coverage report#168

Merged
polaz merged 1 commit intomainfrom
fix/#167-coverage-badge
Jan 24, 2026
Merged

fix(docs): add Codecov badge and always generate VitePress coverage report#168
polaz merged 1 commit intomainfrom
fix/#167-coverage-badge

Conversation

@polaz
Copy link
Copy Markdown
Member

@polaz polaz commented Jan 24, 2026

Summary

  • Added Codecov badge to README for always-current coverage percentage
  • Removed if: github.event_name == 'release' from docs.yml so coverage HTML report is regenerated on every docs deployment, not just releases

Closes #167

Copilot AI review requested due to automatic review settings January 24, 2026 09:50
@polaz polaz enabled auto-merge (squash) January 24, 2026 09:51
@polaz polaz merged commit 2e5e004 into main Jan 24, 2026
18 checks passed
@polaz polaz deleted the fix/#167-coverage-badge branch January 24, 2026 09:52
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue where the coverage report link in the README was returning a 404 error after documentation-only deployments. The fix ensures coverage reports are always included in documentation deployments and adds a Codecov badge for quick coverage percentage visibility.

Changes:

  • Added Codecov badge to README alongside the existing detailed coverage report link
  • Removed conditional gates from the docs workflow so coverage HTML reports are generated on every documentation deployment, not just releases

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Added Codecov badge to the badges row for at-a-glance coverage percentage
.github/workflows/docs.yml Removed if: github.event_name == 'release' conditions from coverage generation steps to ensure coverage is always integrated into deployed documentation

sw-release-bot bot pushed a commit that referenced this pull request Jan 24, 2026
## [6.38.1](v6.38.0...v6.38.1) (2026-01-24)

### Bug Fixes

* **docs:** add Codecov badge and always generate VitePress report ([#168](#168)) ([2e5e004](2e5e004)), closes [#167](#167)
@sw-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 6.38.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Codecov badge to README and fix coverage link in PR comments

2 participants