Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
Tests run in CI but coverage is never measured or reported. Without a baseline it is impossible to tell if PRs are eroding test coverage.
What Needs to Happen
- Add
--coverage to backend Vitest config, output lcov, upload to Codecov
- Run
cargo tarpaulin on contracts and upload XML to Codecov
- Set minimum thresholds: 60% backend, 70% contracts — fail CI if below
- Add coverage badge to README
- Codecov PR comments showing diff coverage
Files
.github/workflows/
backend/vitest.config.ts
README.md
Acceptance Criteria
Description
Tests run in CI but coverage is never measured or reported. Without a baseline it is impossible to tell if PRs are eroding test coverage.
What Needs to Happen
--coverageto backend Vitest config, output lcov, upload to Codecovcargo tarpaulinon contracts and upload XML to CodecovFiles
.github/workflows/backend/vitest.config.tsREADME.mdAcceptance Criteria