Skip to content

Commit 135eaf8

Browse files
authored
Fix/additional output json (#65)
* feat: Added Upload for unit test results * fix: Added additional output json
1 parent 93baaee commit 135eaf8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ jobs:
9494
- name: Test
9595
id: test
9696
run: |
97-
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
97+
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=json,opencover
98+
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/**/*.json
98105
99106
- name: Publish Test Results
100107
uses: EnricoMi/publish-unit-test-result-action@v2.16.1

0 commit comments

Comments
 (0)