Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
The contracts CI job installs cargo-tarpaulin and runs coverage but the XML report is never uploaded anywhere. Backend Jest and frontend tests also have no coverage tracking. Without a coverage badge and trend, it is impossible to see if contributions are adding or removing test coverage.
What Needs to Happen
- Upload
cargo-tarpaulin XML to Codecov in the contracts job
- Add
--coverage flag to backend Jest and upload the lcov report
- Add coverage thresholds: fail CI if coverage drops below 60%
- Add a coverage badge to
README.md
Files
.github/workflows/ci.yml
README.md
Acceptance Criteria
Description
The contracts CI job installs
cargo-tarpaulinand runs coverage but the XML report is never uploaded anywhere. Backend Jest and frontend tests also have no coverage tracking. Without a coverage badge and trend, it is impossible to see if contributions are adding or removing test coverage.What Needs to Happen
cargo-tarpaulinXML to Codecov in the contracts job--coverageflag to backend Jest and upload the lcov reportREADME.mdFiles
.github/workflows/ci.ymlREADME.mdAcceptance Criteria