Skip to content

Commit 48bc267

Browse files
committed
Build perf tests project during PR validation
1 parent 610288e commit 48bc267

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Build.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ if ($SkipTests -eq $false) {
4848

4949
Pop-Location
5050
}
51+
52+
# The performance benchmark tests should at least build without errors during PR validation
53+
$perfTestProjectPath = "$PSScriptRoot/test/Serilog.Sinks.MSSqlServer.PerformanceTests"
54+
Push-Location "$perfTestProjectPath"
55+
56+
echo "build: Building performance test project in $perfTestProjectPath"
57+
& dotnet build -c Release
58+
59+
Pop-Location
5160
}
5261

5362
Pop-Location

0 commit comments

Comments
 (0)