Skip to content

Commit c0926fd

Browse files
committed
expose coverage files as artifact
1 parent 2965f5c commit c0926fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/sonarcube.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ jobs:
8282
run: dotnet test src/Steeltoe.All.sln --filter "Category=MemoryDumps" --framework net9.0 --no-build --configuration Release --collect "XPlat Code Coverage" --settings coverlet.runsettings --logger trx --results-directory ${{ github.workspace }}
8383

8484

85+
- name: Upload coverage files
86+
uses: actions/upload-artifact@v4
87+
with:
88+
name: CoverageOutput
89+
path: '**/coverage.opencover.xml'
90+
91+
8592
- name: End SonarQube Cloud scanner
8693
if: ${{ !cancelled() && steps.sonar_begin.outcome == 'success' }}
8794
env:

0 commit comments

Comments
 (0)