Skip to content

Commit d515cf1

Browse files
committed
try cmdline override
1 parent 015122d commit d515cf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/sonarcube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171

7272
- name: Test (net8.0)
73-
run: dotnet test src/Steeltoe.All.sln --filter "Category!=MemoryDumps" --framework net8.0 --no-build --configuration Release --collect "XPlat Code Coverage" --settings coverlet.runsettings --logger trx --results-directory ${{ github.workspace }}
73+
run: dotnet test src/Steeltoe.All.sln --filter "Category!=MemoryDumps" --framework net8.0 --no-build --configuration Release --collect "XPlat Code Coverage" --settings coverlet.runsettings --logger trx --results-directory ${{ github.workspace }} -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.UseSourceLink=False
7474

7575
# - name: Test (net8.0) (memory dumps)
7676
# run: dotnet test src/Steeltoe.All.sln --filter "Category=MemoryDumps" --framework net8.0 --no-build --configuration Release --collect "XPlat Code Coverage" --settings coverlet.runsettings --logger trx --results-directory ${{ github.workspace }}

coverlet.runsettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Exclude>[*.Test*]*,[*]Microsoft.Diagnostics*</Exclude>
99
<Include>[Steeltoe.*]*</Include>
1010
<ExcludeByAttribute>ObsoleteAttribute,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
11-
<UseSourceLink>false</UseSourceLink>
11+
<UseSourceLink>true</UseSourceLink>
1212
<IncludeTestAssembly>false</IncludeTestAssembly>
1313
<SkipAutoProps>false</SkipAutoProps>
1414
</Configuration>

0 commit comments

Comments
 (0)