A GitHub action that publishes your code coverage to Code Climate.
This action requires that you set the CC_TEST_REPORTER_ID
environment variable. You can find it under Repo Settings in your Code Climate project.
Input | Default | Description |
---|---|---|
coverageCommand |
yarn coverage |
The actual command that should be executed to run your tests and capture coverage. |
debug |
false |
Enable Code Coverage debug output when set to true . |
steps:
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: <code_climate_reporter_id>
with:
coverageCommand: npm run coverage
debug: true
Example project — paambaati/websight