Skip to content

Commit

Permalink
explicit report of use case test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad committed Nov 30, 2023
1 parent 5f10129 commit 381c161
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-and-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,16 @@ jobs:
--results-directory TestResults/ `
--collect:"XPlat Code Coverage" `
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
- name: Complete sonar analysis
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
- name: Process .NET test result
if: always()
uses: NasAmin/trx-parser@v0.5.0
with:
TRX_PATH: ${{ github.workspace }}/TestResults
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 381c161

Please sign in to comment.