Use GOOSE_DISABLE_KEYRING when running tests (#12783)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Douwe Osinga
2026-10-09 14:03:08 +00:00
committed by GitHub
parent a54d979a48
commit 3a17633f35
3 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -162,7 +162,8 @@ fn muse_cli_auth_path() -> PathBuf {
fn muse_cli_keychain_token() -> Option<MuseToken> {
#[cfg(feature = "system-keyring")]
{
if std::env::var("MUSE_AUTH_PATH").is_ok() {
if std::env::var("MUSE_AUTH_PATH").is_ok() || std::env::var("GOOSE_DISABLE_KEYRING").is_ok()
{
return None;
}