-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Explicitly set the report to go to PR * backing out * Test a new coverage tool * Swap coverage actions
- Loading branch information
1 parent
95668ab
commit 4761ee9
Showing
2 changed files
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|