This repository uses CodeClimate for code coverage and maintainability reporting.
- Enable CodeClimate for the repository
- Enable "Pull Request Status Updates" in Repo Settings > GitHub
- Enable Test Coverage and Maintainability checks
- Add
CC_TEST_REPORTER_ID
to GitHub Actions secrets - Ensure Actions have "Read and write permissions" under repository Settings > Actions > General
- Enable branch protection for the following status checks:
codeclimate/test-coverage
codeclimate/maintainability
After setup, CodeClimate will:
- Run on every PR and push to main
- Post coverage reports as PR comments
- Show coverage changes inline with code changes
- Block PR merging if coverage drops below configured thresholds (if set)
If coverage reports are not appearing:
- Verify the
CC_TEST_REPORTER_ID
is correctly set - Check GitHub Actions logs for any coverage upload errors
- Ensure the repository is properly connected in CodeClimate's UI