You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Merge coverage reports
v1.1.0
GitHub Action to merge coverage reports from parallelized test runners into a single report.
source
*: Path to source code (usually${{ github.workspace }}
)coverage-reports
*: Path to coverage reports (usually${{ github.workspace }}/coverage
)output-folder
*: Where to output merged reportsformats
: Comma-separated list of formats to output (text
,json
, andjson-summary
are always included)- Options include
cobertura
,clover
,lcov
,teamcity
,text-loc
.
- Options include
*Required field
report
: Full coverage reportjson-summary
: JSON coverage summary
- 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