mirror of
https://github.com/ollama/ollama.git
synced 2026-07-23 09:10:53 -05:00
app: harden update flows (#16100)
* app: harden update flows This hardens the windows update flows and adds a new opt-in and CI triggered unit test to verify Mac/Windows updates with verification. * test: harden unit tests for OLLAMA_MODELS being set * app: harden updater
This commit is contained in:
@@ -10,5 +10,6 @@ func setTestHome(t *testing.T, home string) {
|
||||
t.Helper()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("USERPROFILE", home)
|
||||
t.Setenv("OLLAMA_MODELS", "")
|
||||
envconfig.ReloadServerConfig()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user