> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# sue445/codeclimate

CircleCI orb for CodeClimate.
https://github.com/sue445/circleci-orb-codeclimate


## Commands

### with-cc-test-reporter

Run test with cc-test-reporter

| Parameter | Type | Default | Description |
|---|---|---|---|
| `after_build_args` | string |  | Pass to cc-test-reporter after-build |
| `steps` | steps |  | Run steps between `before-build` and `after-build` |

## Examples

### with-cc-test-reporter

Run your test between `cc-test-reporter before-build` and `cc-test-reporter after-build`.
See. https://docs.codeclimate.com/docs/configuring-test-coverage


```yaml
jobs:
  test:
    environment:
      CC_TEST_REPORTER_ID: YOUR_CODE_CLIMATE_REPORTER_ID
    executor: docker
    steps:
      - checkout
      - codeclimate/with-cc-test-reporter:
          after_build_args: '--coverage-input-type simplecov'
          steps:
            - run: bundle exec rspec
orbs:
  codeclimate: sue445/codeclimate@x.y.z
version: 2.1
```