kuju63 / coverage-comment

Coverage reporting action that supports multiple coverage format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

Coverage reporting action that supports multiple coverage format.

License:MIT License


Languages

Language:TypeScript 94.3%Language:Dockerfile 4.2%Language:JavaScript 1.5%