From 535204dcbc11938711d3c70bc81996667a6f8896 Mon Sep 17 00:00:00 2001 From: Linus789 Date: Sat, 15 Jul 2023 00:45:39 +0200 Subject: [PATCH] set AppData env for tests might fix the github windows workflow: "%AppData% is not defined" --- main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main_test.go b/main_test.go index 0c9838a..69d910b 100644 --- a/main_test.go +++ b/main_test.go @@ -66,6 +66,7 @@ func TestScripts(t *testing.T) { return err } e.Vars = append(e.Vars, "HOME="+home) + e.Vars = append(e.Vars, "AppData="+home) e.Vars = append(e.Vars, "LocalAppData="+home) e.Vars = append(e.Vars, "REPO_HOST="+staticRepoHost) return nil