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 668dcf6 commit d73a354
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- name: Test with Coverlet
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings .github/workflows/test.runsettings
env:
COVERLET_OUTPUT: PagBankTest/TestResults/coverage/
COVERLET_OUTPUT: TestResults/Coverage/
- name: Generate Coverage Report
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
run: reportgenerator "-reports:${{ github.workspace }}/${{ env.COVERLET_OUTPUT }}/coverage.json" "-targetdir:${{ github.workspace }}/${{ env.COVERLET_OUTPUT }}/report" -reporttypes:Html
- name: Publish Coverage Report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ${{ env.COVERLET_OUTPUT }}/report
path: ${{ github.workspace }}/${{ env.COVERLET_OUTPUT }}/report

0 comments on commit d73a354

Please sign in to comment.