Skip to content

ci: add test coverage reporting to CI pipeline#76

Open
tamtom wants to merge 1 commit intomainfrom
feat/46-coverage-ci
Open

ci: add test coverage reporting to CI pipeline#76
tamtom wants to merge 1 commit intomainfrom
feat/46-coverage-ci

Conversation

@tamtom
Copy link
Owner

@tamtom tamtom commented Feb 15, 2026

Summary

  • Enhanced CI workflow (ci.yml) with coverage summary printout, HTML report generation, and artifact upload (coverage.out + coverage.html) with 14-day retention
  • Updated Makefile test-coverage target to use atomic covermode and print function-level coverage summary
  • Added test-coverage-view Makefile target to open the HTML coverage report in a browser

Closes #46

Test plan

  • Verify make test-coverage runs tests and prints coverage summary
  • Verify make test-coverage-view opens coverage.html in browser
  • Verify CI workflow runs coverage steps on ubuntu-latest with Go 1.22
  • Verify coverage artifacts are uploaded and downloadable from the Actions tab

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Add coverage summary and artifact upload to CI workflow, and enhance
Makefile test-coverage target with atomic covermode and a new
test-coverage-view target that opens the HTML report in a browser.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Test coverage reporting in CI

1 participant