Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/selfagency/merge-coverage
GitHub Action to merge coverage reports
https://github.com/selfagency/merge-coverage
clover cobertura coverage istanbul json lcov teamcity testing
Last synced: 3 months ago
JSON representation
GitHub Action to merge coverage reports
- Host: GitHub
- URL: https://github.com/selfagency/merge-coverage
- Owner: selfagency
- License: mit
- Created: 2022-09-23T20:30:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T16:04:30.000Z (10 months ago)
- Last Synced: 2024-09-16T23:20:22.146Z (4 months ago)
- Topics: clover, cobertura, coverage, istanbul, json, lcov, teamcity, testing
- Homepage: https://github.com/marketplace/actions/merge-coverage-reports
- Size: 222 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Merge coverage reports GitHub Action
GitHub Action to merge coverage reports from parallelized test runners into a single report.
## Inputs
- `source`*: Path to source code (usually `${{ github.workspace }}`)
- `coverage-reports`*: Path to coverage reports (usually `${{ github.workspace }}/coverage`)
- `output-folder`*: Where to output merged reports
- `formats`: Comma-separated list of formats to output (`text`, `json`, and `json-summary` are always included)
- Options include `cobertura`, `clover`, `lcov`, `teamcity`, `text-loc`
- `artifacts`: Whether to upload the merged reports as artifacts (`true`/`false`), defaults to `true`*Required field
## Outputs
- `report`: Full coverage report
- `json-summary`: JSON coverage summary## Usage
```yaml
- name: Merge coverage reports
id: coverage
uses: selfagency/[email protected]
with:
source: ${{ github.workspace }}/${{ inputs.package }}
coverage-reports: ${{ github.workspace }}/${{ inputs.package }}/coverage
output-folder: ${{ github.workspace }}/${{ inputs.package }}/coverage-reports
formats: html
artifacts: false
```