From aaf98da672c028706500cdf593993f6276f95e42 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Mon, 4 Nov 2024 12:02:13 +0100 Subject: [PATCH] Fix AL-Go bug 1291 (#3747) Fixes https://github.com/microsoft/AL-Go/issues/1291 Co-authored-by: freddydk --- AppHandling/Run-AlPipeline.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AppHandling/Run-AlPipeline.ps1 b/AppHandling/Run-AlPipeline.ps1 index 6e69307fe..0c02f1556 100644 --- a/AppHandling/Run-AlPipeline.ps1 +++ b/AppHandling/Run-AlPipeline.ps1 @@ -857,6 +857,7 @@ if ($doNotPublishApps) { # If we are not going to publish apps, we also cannot run upgrade tests or tests $doNotRunTests = $true $doNotRunBcptTests = $true + $doNotRunPageScriptingTests = $true $doNotPerformUpgrade = $true } @@ -871,6 +872,7 @@ if ($doNotBuildTests) { $installPerformanceToolkit = $false $doNotRunTests = $true $doNotRunBcptTests = $true + $doNotRunPageScriptingTests = $true } if ($containerName -eq '' -or $filesOnly) { @@ -2408,7 +2410,7 @@ Write-GroupEnd } } -if (!($doNotRunTests -and $doNotRunBcptTests -and $doNotRunPageScriptingTests)) { +if ($containerName -ne '' -and !($doNotRunTests -and $doNotRunBcptTests -and $doNotRunPageScriptingTests)) { if ($ImportTestDataInBcContainer) { Write-GroupStart -Message "Importing test data" Write-Host -ForegroundColor Yellow @'