From 7c3dd94d4a8e90c64be254f52b876d77accb28d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oct=C3=A1vio=20Pereira?= Date: Mon, 19 Oct 2026 09:12:50 +0000 Subject: [PATCH] test(plugins): isolate terminal tests from GitHub Actions detection --- tests/Specs/Plugins.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Specs/Plugins.cs b/tests/Specs/Plugins.cs index f8f033703..9908cf954 100644 --- a/tests/Specs/Plugins.cs +++ b/tests/Specs/Plugins.cs @@ -404,6 +404,8 @@ private static string RunInTerminal(string command, string pluginDir, string wai new[] { "--quiet", "--return", "--command", command, "/dev/null" }.ToList().ForEach(ps.ArgumentList.Add); ps.Environment["PATH"] = $"{pluginDir}{Path.PathSeparator}{Environment.GetEnvironmentVariable("PATH")}"; ps.Environment["TERM"] = "xterm-256color"; + // Spectre disables interaction on GitHub Actions even when attached to a pseudo-terminal. + ps.Environment.Remove("GITHUB_ACTIONS"); ps.Environment["cmf_cli_skip_version_check"] = "true"; using var process = Process.Start(ps)!;