Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
matmiranda committed Aug 2, 2023
1 parent db4438c commit eb88515
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ jobs:
env:
COVERLET_OUTPUT: PagBankTest/TestResults/coverage/
- name: Generate Coverage Report
uses: danielpalme/ReportGenerator@v4
with:
reports: ${{ env.COVERLET_OUTPUT }}/coverage.cobertura.xml
targetdir: ${{ env.COVERLET_OUTPUT }}/report
reporttypes: 'html'
run: dotnet tool install -g dotnet-reportgenerator-globaltool
- name: Generate Coverage Report HTML
run: reportgenerator "-reports:${{ env.COVERLET_OUTPUT }}/coverage.cobertura.xml" "-targetdir:${{ env.COVERLET_OUTPUT }}/report" -reporttypes:Html
- name: Publish Coverage Report
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit eb88515

Please sign in to comment.