Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.46 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.46 KB

codeclimate-action

Build Status MIT License

A GitHub action that publishes your code coverage to Code Climate.

Usage

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.

Inputs

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.

Example

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