-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Parent Epic: #189
🎯 Goal
Configure PHPUnit/Pest code coverage reporting and integrate Codecov into the api repository CI pipeline.
📝 Tasks
- Update
phpunit.xmlto include coverage configuration - Modify
.github/workflows/php-ci.ymlto generate coverage with Xdebug - Add Codecov upload step to CI workflow
- Add coverage badge to
api/README.md - Verify coverage reports appear in Codecov dashboard
- Test coverage on sample PR
✅ Acceptance Criteria
- PHPUnit generates Clover XML coverage report
- CI workflow uploads coverage to Codecov
- Coverage badge displays in README
- All existing tests pass (no regressions)
- Coverage visible in Codecov dashboard
- Preflight checks pass
🔧 Technical Details
Files to modify:
api/phpunit.xml- Add coverage source paths (already has<source>element)api/.github/workflows/php-ci.yml- Add coverage generation and uploadapi/README.md- Add Codecov badge
Dependencies:
- Codecov GitHub App (organization-level)
- Xdebug (already configured in CI)
📚 References
🔗 Related
- Parent: Sub-Issue 182.3: Integration Tests + SecretAttachmentPolicy Update #189
- Blocks: Sub-Issue chore(deps): add dependabot config with daily updates #3 (org-level config)
Estimated Effort: 1-2 hours
Priority: High
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done