Skip to content

Commit

Permalink
Coverage report patch (#4060)
Browse files Browse the repository at this point in the history
* Explicitly set the report to go to PR

* backing out

* Test a new coverage tool

* Swap coverage actions
  • Loading branch information
asteel-gsa authored Jul 8, 2024
1 parent 95668ab commit 4761ee9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/testing-from-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,12 @@ jobs:
pwd
ls -al | grep 'coverage'
- name: Publish Coverage Report to Pull Request
uses: 5monkeys/cobertura-action@master
- name: Coverage Action
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
path: ./coverage.xml
minimum_coverage: 85
skip_covered: true # Set to true to remove 100% covered from report
fail_below_threshold: false # Fails the action if 90% threshold is not met
show_missing: true
only_changed_files: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
coverageFile: ./coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}

# a11y-testing:
# runs-on: ubuntu-latest
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/testing-from-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,12 @@ jobs:
pwd
ls -al | grep 'coverage'
- name: Publish Coverage Report to Pull Request
uses: 5monkeys/cobertura-action@master
- name: Coverage Action
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
path: ./coverage.xml
minimum_coverage: 85
skip_covered: true # Set to true to remove 100% covered from report
fail_below_threshold: false # Fails the action if 90% threshold is not met
show_missing: true
only_changed_files: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
coverageFile: ./coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit 4761ee9

Please sign in to comment.