Skip to content

Commit

Permalink
update Coverage PR Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zingmane committed Oct 25, 2023
1 parent 4f0c9f0 commit 59fe74e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,20 @@ jobs:
with:
filename: build/reports/scoverage/cobertura.xml
thresholds: '60 80'
format: text
badge: false
format: markdown
badge: true
fail_below_min: true

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

publish-test-results:
name: "Publish Unit Tests Results"
needs: build-and-test
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ jobs:
badge: true
fail_below_min: true

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

publish-test-results:
name: "Publish Unit Tests Results"
needs: build-and-test
Expand Down

0 comments on commit 59fe74e

Please sign in to comment.