Skip to content

Commit

Permalink
[#258] Cleanup CI and Test Badge Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbrown2 authored Dec 19, 2024
1 parent 507b692 commit b9e67c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mc_dc_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ jobs:
curl -o coverage/line-coverage-badge.svg "https://img.shields.io/badge/line%20coverage-${LINE_COVERAGE_PERCENT}%25-brightgreen"
curl -o coverage/branch-coverage-badge.svg "https://img.shields.io/badge/branch%20coverage-${BRANCH_COVERAGE_PERCENT}%25-brightgreen"
# Step 7: Commit Badges to the Current Branch
# Step 7: Commit Badges to the Current Branch
- name: Commit Coverage Badges
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
git add coverage/line-coverage-badge.svg
git add coverage/branch-coverage-badge.svg
git commit -m "Update coverage badges"
git commit -m "Update coverage badges" || echo "No changes to commit"
git push origin HEAD
# Step 8: Upload Coverage Report
Expand Down

0 comments on commit b9e67c6

Please sign in to comment.