Skip to content

Conversation

onevcat
Copy link
Member

@onevcat onevcat commented Jul 29, 2025

Summary

  • Add test coverage badge to README.md for better project visibility
  • Implement HTML test coverage report generation for detailed analysis
  • Add new GitHub workflow for coverage reporting

Test plan

  • Verify coverage badge displays correctly in README
  • Ensure coverage workflow runs successfully in CI
  • Confirm HTML report generation works properly
  • Test coverage calculation accuracy

- Add xcov dependency to Gemfile for coverage reporting
- Add sdk_tests_with_coverage lane to Fastfile supporting both JSON and HTML output
- Create coverage.yaml GitHub Actions workflow for badge updates and GitHub Pages deployment
- Add coverage extraction script to parse xcov reports and determine badge colors
- Update README.md with coverage badge and detailed coverage report links
- Configure automated deployment to gh-pages branch for HTML coverage reports

This implements a complete coverage reporting system using:
- Dynamic badges via GitHub Gist + Shields.io (static, no external servers)
- Detailed HTML reports deployed to GitHub Pages
- Automatic updates on master branch pushes with color-coded badges
@onevcat onevcat temporarily deployed to Coverage Badge Env July 29, 2025 04:34 — with GitHub Actions Inactive
@onevcat onevcat requested a review from daviscdev July 29, 2025 05:39
Copy link

@daviscdev daviscdev left a comment

Choose a reason for hiding this comment

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

Thank you!

@onevcat onevcat merged commit d410d04 into master Jul 30, 2025
24 of 26 checks passed
@onevcat onevcat deleted the feature/cov-badge branch July 30, 2025 00:21
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.

3 participants