Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Jul 6, 2023
1 parent 19e3530 commit 4e39fda
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,19 @@ jobs:
- name: Run Test
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings

- name: Generate Coverage
uses: danielpalme/ReportGenerator-GitHub-Action@5.1.23
with:
reports: '*/TestResults/*/coverage.info'
targetdir: artifacts
reporttypes: lcov

- name: Report Coverage
if: success()
uses: coverallsapp/github-action@v2
with:
file: artifacts/lcov.info
format: lcov

- name: Create Packages
if: success() && github.event_name != 'pull_request'
Expand Down

0 comments on commit 4e39fda

Please sign in to comment.