Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Dec 5, 2023
1 parent 8802488 commit fd0a572
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,19 @@ jobs:
- name: Run Test
run: dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings

- name: Generate Coverage
uses: danielpalme/[email protected]
with:
reports: '${{github.workspace}}/test/*/TestResults/*/coverage.info'
targetdir: ${{env.BUILD_PATH}}
reporttypes: lcov

- name: Report Coverage
if: success()
uses: coverallsapp/github-action@v2
with:
file: '${{github.workspace}}\test\**\TestResults\**\coverage.info'
format: lcov
file: '${{env.BUILD_PATH}}/lcov.info'
format: lcov

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

0 comments on commit fd0a572

Please sign in to comment.