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