Skip to content

Commit

Permalink
feat: Added Upload for unit test results (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion authored Jun 25, 2024
1 parent 91e8cca commit 93baaee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/step-dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ jobs:
run: |
dotnet test ${{ inputs.solution }} -c Release -v ${{ inputs.dotnet-logging }} --no-build --no-restore --collect:"XPlat Code Coverage" /p:GeneratePackageOnBuild=false -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Publish Test Results
uses: EnricoMi/[email protected]
if: always()
with:
files: |
**/TestResults/**/*.opencover.xml
- name: Stop SonarQube Analysis
if: ${{ inputs.enableSonarQube == true && (success() || steps.test.conclusion == 'failure') }}
id: sonar
Expand Down

0 comments on commit 93baaee

Please sign in to comment.