Skip to content

ci(coverage): generate compact coverage summary artifact - #587

Merged
karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-524
Oct 27, 2026
Merged

karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-524

Conversation

@umpireboulianne-design

Copy link
Copy Markdown
Contributor

Summary

  • Extends scripts/run-ts-coverage.mjs with formatCoverageSummaryMarkdown, formatCoverageSummaryJson, and writeCoverageSummary so every coverage run writes a compact summary artifact to coverage/coverage-summary.md and coverage/coverage-summary.json (and appends the Markdown table to GITHUB_STEP_SUMMARY when set in GitHub Actions).
  • Adds unit tests in scripts/run-ts-coverage.test.mjs covering the Markdown/JSON summary formatting and artifact file writing.
  • Documents the compact coverage summary artifact in docs/CI.md.
  • Note: .github/workflows/coverage.yml is not modified directly because the token lacks workflow scope.

Fixes #524

@karagozemin
karagozemin merged commit 261c38b into Sub-Rosa-Issue:main Oct 27, 2026
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.

ci(high/easy): upload a compact coverage summary artifact

2 participants