From 9b792f5378db68086fcf72b96ec85d972c0d7a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=9B=9B=E5=AE=8F?= Date: Sat, 14 Nov 2026 22:27:26 +0800 Subject: [PATCH] [cli-release-discovery][iter-2] test(install): keep host-safety regression offline --- tests/test.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test.ps1 b/tests/test.ps1 index 5d798c2..90507b9 100644 --- a/tests/test.ps1 +++ b/tests/test.ps1 @@ -46,6 +46,9 @@ Assert-True $parseOk "install.ps1 must parse without syntax errors." $inner = @' $ErrorActionPreference = "Stop" $env:OCTOPUS_DOWNLOAD_BASE = "http://127.0.0.1:1" +$env:GITEA_API_URL = "http://127.0.0.1:1/api/v1" +$env:PROCESSOR_ARCHITECTURE = "AMD64" +$env:USERPROFILE = [System.IO.Path]::GetTempPath() $r = "nothing" try { Invoke-Expression (Get-Content -Raw "__INSTALL__")