Skip to content

Commit

Permalink
Change Coverage Reporting Tool (#4061)
Browse files Browse the repository at this point in the history
* Sets thresholds for new Coverate Reporting Tool

* Change Job Name

* Version bump to v3.2

* Going back to cobertura

* Testing CodeCoverageSummary

* Update coverage
  • Loading branch information
asteel-gsa authored Oct 16, 2024
1 parent c4eb9c1 commit 5674d3e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/testing-from-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,25 @@ jobs:
pwd
ls -al | grep 'coverage'
- name: Coverage Action
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: ./coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '85 90'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
coverageFile: ./coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
recreate: true
path: code-coverage-results.md

a11y-testing:
runs-on: ubuntu-latest
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/testing-from-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,25 @@ jobs:
pwd
ls -al | grep 'coverage'
- name: Coverage Action
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: ./coverage.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '85'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
coverageFile: ./coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
recreate: true
path: code-coverage-results.md

a11y-testing:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5674d3e

Please sign in to comment.