From 48bc2679cee99077ac34fc906412ce470de4fcff Mon Sep 17 00:00:00 2001 From: Christian Kadluba <10721825+ckadluba@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:40:03 +0200 Subject: [PATCH] Build perf tests project during PR validation --- Build.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Build.ps1 b/Build.ps1 index 97e64429..9f020c6d 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -48,6 +48,15 @@ if ($SkipTests -eq $false) { Pop-Location } + + # The performance benchmark tests should at least build without errors during PR validation + $perfTestProjectPath = "$PSScriptRoot/test/Serilog.Sinks.MSSqlServer.PerformanceTests" + Push-Location "$perfTestProjectPath" + + echo "build: Building performance test project in $perfTestProjectPath" + & dotnet build -c Release + + Pop-Location } Pop-Location