Skip to content

ci: add automated test coverage reporting - #1063

Open
iorchirmyom-afk wants to merge 2 commits into
Core-Foundry:mainfrom
iorchirmyom-afk:fix/issue-863-add-test-coverage-reporting
Open

iorchirmyom-afk wants to merge 2 commits into
Core-Foundry:mainfrom
iorchirmyom-afk:fix/issue-863-add-test-coverage-reporting

Conversation

@iorchirmyom-afk

Copy link
Copy Markdown

Overview

This PR adds automated test coverage reporting to the CI pipeline so maintainers can see coverage results on every run. Coverage is generated during CI, uncovered areas are surfaced in the report, and existing test execution is left unchanged.

Related Issue

Changes

📊 Coverage Reporting

  • [MODIFY] .github/workflows/ci.yml

    • Run the existing test suite with coverage enabled and publish the coverage report as a CI artifact so maintainers can review results.
  • [MODIFY] dashboard/package.json

    • Add the coverage script/dependency wiring needed to generate coverage reports from the existing Jest setup.
  • [MODIFY] dashboard/jest.config.cjs

    • Enable coverage collection and reporters so reports identify uncovered areas, without altering how tests are executed.

Verification Results

CI workflow runs the existing test suite with coverage enabled
Coverage report is generated and uploaded as a build artifact
Existing test execution unchanged
Acceptance Criteria Status
Coverage is generated automatically ✅ Coverage runs as part of the CI workflow
Reports identify uncovered areas ✅ Coverage reporters configured in Jest config
Existing test execution remains unchanged ✅ Only coverage collection/reporting added

Closes #863

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.

Add Test Coverage Reporting

2 participants