Skip to content

Commit

Permalink
Make test report downloadable after workflow run (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad authored Aug 20, 2024
1 parent 26f6c89 commit 9c0ce84
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build-and-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,14 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
# - name: Process .NET test result
# if: always()
# uses: NasAmin/trx-parser@v0.6.0
# with:
# TRX_PATH: ${{ github.workspace }}/TestResults
# REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: TestResults
path: '**/TestResults/*.trx'
- name: Process unit test result
if: always()
uses: NasAmin/trx-parser@v0.6.0
with:
TRX_PATH: ${{ github.workspace }}/TestResults
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9c0ce84

Please sign in to comment.