Skip to content

ci: enforce 60% minimum Solidity line coverage#15

Merged
agentmecz merged 2 commits intomainfrom
ci/coverage-threshold
Feb 17, 2026
Merged

ci: enforce 60% minimum Solidity line coverage#15
agentmecz merged 2 commits intomainfrom
ci/coverage-threshold

Conversation

@agentmecz
Copy link
Owner

Adds coverage threshold enforcement to CI pipeline.

  • Runs forge coverage with --no-match-contract 'Script|CrossChain' (untestable contracts)
  • Fails CI if line coverage drops below 60%
  • Current baseline: 65%
  • Prints coverage percentage in CI logs for easy tracking

Lada added 2 commits February 17, 2026 16:18
- Skip Script and CrossChain contracts (not testable)
- Fail CI if coverage drops below 60%
- Current baseline: 65%
OpenZeppelin has nested submodules (forge-std → ds-test) that fail
on GitHub Actions when credentials aren't persisted for recursive
clone. Adding persist-credentials: true fixes the flaky checkout.
@agentmecz agentmecz merged commit e247382 into main Feb 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments