Skip to content

Commit

Permalink
Adding separate job to acquire the coverage report even after failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Jul 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 310cc2c commit 830ec2f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
@@ -311,12 +311,16 @@ jobs:
runs-on: ubuntu-latest
if: true
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Testing sample comment upload :tada:!
- name: Coverage Report
run: |
COVERAGE_REPORT=$(cat ./coverage_reports/CoverageReport.md)
echo "Coverage Report: $COVERAGE_REPORT"
# - name: Add comment
# uses: peter-evans/create-or-update-comment@v4
# with:
# issue-number: ${{ github.event.pull_request.number }}
# body: |
# Testing sample comment upload :tada:!

# Reference: https://github.community/t/127354/7.
check_coverage_results:

0 comments on commit 830ec2f

Please sign in to comment.