Skip to content

Commit

Permalink
chore: add test report steps
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanho committed Sep 14, 2023
1 parent 1f7a908 commit 7988c34
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
path: "./**/TestResults/TestResults-${{ matrix.dotnet-version }}.trx"
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

report:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: dorny/test-reporter@v1
with:
artifact: /dotnet-results-(.*)/
name: Tests
path: '*.trx'
reporter: dotnet-trx

test-pack:
runs-on: ubuntu-latest
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

report:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: dorny/test-reporter@v1
with:
artifact: /dotnet-results-(.*)/
name: Tests
path: '*.trx'
reporter: dotnet-trx

test-pack:
runs-on: ubuntu-latest
needs: [test]
Expand Down

0 comments on commit 7988c34

Please sign in to comment.