New Test Reporter Public Beta
Our new test reporter, with support for parallelized CI builds, is now in public beta! View its documentation here.
- Add Code Climate's php-test-reporter to your composer.json
composer require codeclimate/php-test-reporter:dev-master --dev
- Generate coverage data
phpunit --coverage-clover build/logs/clover.xml
- Send the coverage data to Code Climate
Note: This token is specific to this repo on Code Climate and grants any user the ability to submit test coverage reports on your behalf. We recommend defining this token as an environment variable within your CI's user interface or configuration file.
More comprehensive instructions and source code can be found on GitHub.