Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Coverage commentator

Actions
Comment test coverage to PR
v1.3.1
Star (0)

coverage-comment action

build-test

Input

token

Required Set github.token for comment to PR.

paths

Required Coverage file path. It allow glob pattern.

type

Optional Coverage format. Currently supported "cobertura" only.

debug

Optional Dry run mode when set 1.

Output

None

How to use

Simple using

- name: Test coverage
  uses: kuju63/coverage-comment
  with:
    token: ${{ github.token }}
    paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml

Full using

- name: Test coverage
  uses: kuju63/coverage-comment
  with:
    token: ${{ github.token }}
    paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml
    type: 'cobertura'
    debug: '0'

Coverage commentator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Comment test coverage to PR
v1.3.1

Coverage commentator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.