Skip to content

Commit 1a988a9

Browse files
Skip PowerShell Preview tests on OneBranch (#2228)
1 parent 22d6de3 commit 1a988a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShellEditorServices.build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ if ($env:GITHUB_ACTIONS) {
313313
$PwshPreview = if ($script:IsNix) { "$HOME/.powershell-preview/pwsh" } else { "$env:LOCALAPPDATA/Microsoft/powershell-preview/pwsh.exe" }
314314
}
315315

316-
Task TestE2EPreview Build, SetupHelpForTests, {
316+
Task TestE2EPreview -If (-not $env:TF_BUILD) Build, SetupHelpForTests, {
317317
Assert (Test-Path $PwshPreview) "PowerShell Preview not found at $PwshPreview, please install it: https://github.com/PowerShell/PowerShell/blob/master/tools/install-powershell.ps1"
318318
Set-Location ./test/PowerShellEditorServices.Test.E2E/
319319
$env:PWSH_EXE_NAME = $PwshPreview

0 commit comments

Comments
 (0)