Skip to content

Commit

Permalink
Coverage Reports to be saved in Github env to access them in the uplo…
Browse files Browse the repository at this point in the history
…ad coverage report job
  • Loading branch information
Rd4dev committed Jul 25, 2024
1 parent 77417aa commit 2fafb6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ jobs:
COVERAGE_STATUS=$(cat ./coverage_reports/CoverageStatus.log)
echo "Coverage Report: $COVERAGE_REPORT"
echo "Coverage Status: $COVERAGE_STATUS"
echo "COVERAGE_REPORT_ENV=$COVERAGE_REPORT_ENV" >> $GITHUB_ENV
echo "::set-output name=coverage_report:: $COVERAGE_REPORT"
echo "::set-output name=coverage_status:: $COVERAGE_STATUS"
Expand All @@ -320,6 +321,8 @@ jobs:
run: |
COVERAGE_REPORT=${{ needs.code_coverage_run.coverage_report }}
echo "Coverage Report: $COVERAGE_REPORT"
COVERAGE_REPORT_ENV=${{ env.COVERAGE_REPORT_ENV }}
echo "Coverage Report Env: $COVERAGE_REPORT_ENV"
# - name: Add comment
# uses: peter-evans/create-or-update-comment@v4
# with:
Expand Down

0 comments on commit 2fafb6e

Please sign in to comment.