https://github.com/kuju63/coverage-comment
Coverage reporting action that supports multiple coverage format.
https://github.com/kuju63/coverage-comment
coverage
Last synced: 5 months ago
JSON representation
Coverage reporting action that supports multiple coverage format.
- Host: GitHub
- URL: https://github.com/kuju63/coverage-comment
- Owner: kuju63
- License: mit
- Created: 2021-05-27T13:16:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T05:41:09.000Z (5 months ago)
- Last Synced: 2026-01-10T23:36:38.911Z (5 months ago)
- Topics: coverage
- Language: TypeScript
- Homepage:
- Size: 3.23 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# coverage-comment action
[](https://github.com/kuju63/coverage-comment/actions/workflows/test.yml)
## 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
```yaml
- name: Test coverage
uses: kuju63/coverage-comment
with:
token: ${{ github.token }}
paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml
```
### Full using
```yaml
- name: Test coverage
uses: kuju63/coverage-comment
with:
token: ${{ github.token }}
paths: csharp/test/Sample.Tests/TestResults/**/coverage.cobertura.xml
type: 'cobertura'
debug: '0'
```