Skip to content

Commit 29791aa

Browse files
committed
Set the coverage directory at the root of the repository
1 parent 08c140f commit 29791aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Serilog.Formatting.Log4Net.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<!-- Automatically collect coverage when running `dotnet test` -->
2626
<CollectCoverage>true</CollectCoverage>
2727
<!-- Tweak the default coverlet output directory to be `coverage` inside the `tests` directory -->
28-
<CoverletOutput>$([MSBuild]::EnsureTrailingSlash($([System.IO.Path]::Combine($(MSBuildProjectDirectory),'coverage'))))</CoverletOutput>
28+
<CoverletOutput>$([MSBuild]::EnsureTrailingSlash($([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(MSBuildProjectDirectory),'..','coverage'))))))</CoverletOutput>
2929
<!-- The default output format is `json` which is not supported by ReportGenerator -->
3030
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
3131
</PropertyGroup>

0 commit comments

Comments
 (0)