-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Parent Epic: SecPal/.github#189
🎯 Goal
Configure Vitest code coverage reporting and integrate Codecov into the frontend repository CI pipeline.
📝 Tasks
- Configure coverage in
vitest.config.ts(using existing@vitest/coverage-v8package) - Add coverage generation to
package.jsonscripts (already hastest:coverage) - Modify
.github/workflows/quality.ymlto generate and upload coverage - Add coverage badge to
frontend/README.md - Verify coverage reports appear in Codecov dashboard
- Test coverage on sample PR
✅ Acceptance Criteria
- Vitest generates coverage report in JSON/LCOV format
- CI workflow uploads coverage to Codecov
- Coverage badge displays in README
- All existing tests pass (131 tests)
- Coverage visible in Codecov dashboard
- Preflight checks pass
🔧 Technical Details
Files to modify:
frontend/vitest.config.ts- Add coverage configurationfrontend/.github/workflows/quality.yml- Add coverage upload to vitest jobfrontend/README.md- Add Codecov badge
Dependencies:
- Codecov GitHub App (organization-level)
@vitest/coverage-v8(already installed)
📚 References
🔗 Related
- Parent: [EPIC] Implement Code Coverage Tracking with Codecov .github#189
- Blocks: Sub-Issue feat: Complete repository setup with workflows, licenses, and tooling #3 (org-level config)
Estimated Effort: 1-2 hours
Priority: High
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done