Skip to content

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

Open
umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-524
Open

umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-524

Conversation

@umpireboulianne-design

Copy link
Copy Markdown

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

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

1 participant