Skip to content

Commit

Permalink
Update coverage-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hartra344 committed Jun 3, 2024
1 parent caa69b6 commit 4e6f174
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ jobs:
dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:"libs/*/coverage/cobertura-coverage.xml" -targetdir:CodeCoverage -reporttypes:'Cobertura;MarkdownSummaryGithub'
- name: Generate Coverage Report
uses: clearlyip/code-coverage-report-action@v4
id: code_coverage_report_action
with:
#Location of the generate coverage file
filename: 'CodeCoverage/Cobertura.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
badge: true
fail_on_negative_difference: true
artifact_download_workflow_names: 'base-coverage'
# - name: Generate Coverage Report
# uses: clearlyip/code-coverage-report-action@v4
# id: code_coverage_report_action
# with:
# #Location of the generate coverage file
# filename: 'CodeCoverage/Cobertura.xml'
# github_token: ${{ secrets.GITHUB_TOKEN }}
# badge: true
# fail_on_negative_difference: true
# artifact_download_workflow_names: 'base-coverage'

- name: Write to Job Summary
run: cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 4e6f174

Please sign in to comment.