You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Coverage commentator
v1.2.0
Required Set github.token for comment to PR.
Required Coverage file path. It allow glob pattern.
Optional Coverage format. Currently supported "cobertura" only.
Optional Dry run mode when set 1.
None
- name: Test coverage
uses: kuju63/coverage-comment
with:
token: ${{ github.token }}
paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml
- name: Test coverage
uses: kuju63/coverage-comment
with:
token: ${{ github.token }}
paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml
type: 'cobertura'
debug: '0'