Skip to content

Commit

Permalink
chore: include report in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzerd committed Jan 8, 2025
1 parent da05a9b commit b082dde
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on: # yamllint disable-line rule:truthy
branches:
- master

permissions: read-all
permissions:
contents: read
pull-requests: write

env:
DOTNET_NOLOGO: true
Expand Down Expand Up @@ -51,7 +53,17 @@ jobs:
run: dotnet build --no-restore

- name: Run tests
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal --logger trx --collect:"XPlat Code Coverage"

- name: Generate Test report
uses: bibipkins/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: 'Test Results'
results-path: tests/**/*.trx
coverage-path: tests/**/coverage.cobertura.xml
coverage-type: cobertura
coverage-threshold: 60

- name: Push to MyGet
env:
Expand Down

0 comments on commit b082dde

Please sign in to comment.