Skip to content

semeietech/codeclimate-action

 
 

Repository files navigation

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/codeclimate-action@v2.3.0
  env:
    CC_TEST_REPORTER_ID: <code_climate_reporter_id>
  with:
    coverageCommand: npm run coverage
    debug: true

Example project — paambaati/websight

About

GitHub action to send your code coverage to CodeClimate

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%