Skip to content

Commit 93baaee

Browse files
authored
feat: Added Upload for unit test results (#64)
1 parent 91e8cca commit 93baaee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/step-dotnet-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
run: |
9797
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
9898
99+
- name: Publish Test Results
100+
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
101+
if: always()
102+
with:
103+
files: |
104+
**/TestResults/**/*.opencover.xml
105+
99106
- name: Stop SonarQube Analysis
100107
if: ${{ inputs.enableSonarQube == true && (success() || steps.test.conclusion == 'failure') }}
101108
id: sonar

0 commit comments

Comments
 (0)