Skip to content
upload-cloud

GitHub Action

Coverage Robot Action

v1.0.7 Latest version

Coverage Robot Action

upload-cloud

Coverage Robot Action

GitHub Action for integrating with Coverage Robot

Installation

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

              

- name: Coverage Robot Action

uses: coverage-robot/[email protected]

Learn more about this action in coverage-robot/action

Choose a version

Coverage Robot Action

coverage

This GitHub Action allows for accepting uploads of coverage reports conveniently into Coverage Robot.

Usage

Inputs

  • token - The unique secret token to securely upload coverage files (Required).
  • files - The glob patterns to match the coverage files to upload (Required).
  • tag - The tag to associate with the coverage files (Required).
  • endpoint - The endpoint contacted when signing coverage files before upload (Optional, Default: https://api.coveragerobot.com/v1).
  • github-token - The GitHub token to use for authentication (Optional, Default: The automatic GitHub token).

Example

- uses: coverage-robot/action@v1
  with:
    token: ${{ secrets.COVERAGE_TOKEN }}
    files: |
        ./coverage/**/coverage.xml
    tag: api-service