Skip to content

Commit

Permalink
fix: produce coverage summary if doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mdimajo committed Dec 11, 2024
1 parent c7eb331 commit bc05e3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ jobs:
if: inputs.ENABLE_TESTING && inputs.ENABLE_COVERAGE
run: |
coverage_summary="./coverage/coverage-summary.json"
if [ ! -f "$coverage_summary" ]; then
npx nyc report --reporter=json-summary -t coverage
fi
bucket=reside-stage-plat-tools
summaryFolder=coverage-reporting/summary
Expand Down

0 comments on commit bc05e3a

Please sign in to comment.