This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit fa50988c582d56ae2ba6a5ab19ad9c111ac80d7d Author: Shad Storhaug <[email protected]> AuthorDate: Mon Oct 25 21:56:49 2021 +0700 BUG: build/build.ps1: Added special case for running Lucene.Net.Tests.CodeAnalysis only on .NET 5. --- build/build.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/build.ps1 b/build/build.ps1 index 123172e..c2deba3 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -300,6 +300,13 @@ task Test -depends InstallSDK, UpdateLocalSDKVersion, Restore -description "This continue } + # Special case - Code analysis is only tested on .NET 5 + if ($testName.Contains("Tests.CodeAnalysis") -and (!$framework.StartsWith("net5."))) { + $totalProjects-- + $remainingProjects-- + continue + } + Write-Host " Next Project in Queue: $testName, Framework: $framework" -ForegroundColor Yellow # Pause if we have queued too many parallel jobs
