Skip to content

Setup Code Climate

Actions
Sets up code climate test reporter in your GitHub Actions workflow
v2
Latest
Star (5)

Setup Code Climate GitHub Action

test coverage maintainability

Setup cc-test-reporter binary to use with your GitHub Actions workflows.

This action uses itself to run its test suite.

- uses: amancevice/setup-code-climate@v2
  with:
    cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
- run: cc-test-reporter before-build
# ...
- run: cc-test-reporter after-build

You may wish to disable the after-build step if your workflow is configured to trigger on pull_request events.

Your GitHub secrets will not be available to users submitting pull requests from outside your organization and the command will surely fail.

- run: cc-test-reporter after-build
  if: ${{ github.event_name != 'pull_request' }}

Setup Code Climate is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up code climate test reporter in your GitHub Actions workflow
v2
Latest

Setup Code Climate is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.