This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
It would be helpful to output a summary of the test coverage as ${GITHUB_STEP_SUMMARY} so
people could use a quick glance at how things went during the test run.
Describe the solution you'd like
- name: Unit Testing (Coverage)
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TOKEN }}
with:
summary: true
coverageCommand: yarn test --coverage
coverageLocations: |
${{ github.workspace }}/package-one/*/dist/vitest-coverage/lcov.info:lcov
${{ github.workspace }}/package-two/*/dist/vitest-coverage/lcov.info:lcov
echo "${{ combined_coverage }}" >> $GITHUB_STEP_SUMMARY
Describe alternatives you've considered
Alternatively, just output the combined coverage, and leave it to the
user to direct the output somewhere
${{ steps.coverage.outputs.report }}
Additional context
- Coverage should be combined to allow for monorepos and partial coverage files
- The output should either be
markdown, or json, to easily consume it