Skip to content
code

GitHub Action

CodeClimate Code Coverage Test Reporter

v1.0.0 Latest version

CodeClimate Code Coverage Test Reporter

code

CodeClimate Code Coverage Test Reporter

GitHub action for publishing code coverage results to CodeClimate

Installation

Copy and paste the following snippet into your .yml file.

              

- name: CodeClimate Code Coverage Test Reporter

uses: xylabs/action-code-climate-test-reporter@v1.0.0

Learn more about this action in xylabs/action-code-climate-test-reporter

Choose a version

logo

@xylabs/action-code-climate-test-reporter

Table of Contents

Description

Containerized version of CodeClimate Test Reporter for use as a GitHub action.

Usage

Formatting code coverage:

- name: format code coverage
  uses: ./.github/actions/cc-test-reporter
  with:
    subcommand: "format-coverage -t lcov ./coverage/lcov.info"

Uploading code coverage:

- name: upload code coverage
  uses: ./.github/actions/cc-test-reporter
  env:
    CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
  with:
    subcommand: "upload-coverage"

Maintainers

License

See the LICENSE file for license details

Credits

Made with 🔥 and ❄️ by XY Labs