diff options
Diffstat (limited to 'pkg/integration/components/runner.go')
-rw-r--r-- | pkg/integration/components/runner.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/integration/components/runner.go b/pkg/integration/components/runner.go index f1f8e3c89..9a787c864 100644 --- a/pkg/integration/components/runner.go +++ b/pkg/integration/components/runner.go @@ -187,6 +187,11 @@ func getLazygitCommand(test *IntegrationTest, paths Paths, rootDir string, sandb if sandbox { cmdObj.AddEnvVars(fmt.Sprintf("%s=%s", SANDBOX_ENV_VAR, "true")) } + if test.ExtraEnvVars() != nil { + for key, value := range test.ExtraEnvVars() { + cmdObj.AddEnvVars(fmt.Sprintf("%s=%s", key, value)) + } + } if keyPressDelay > 0 { cmdObj.AddEnvVars(fmt.Sprintf("KEY_PRESS_DELAY=%d", keyPressDelay)) |