diff --git a/shared/testutils/testutils.go b/shared/testutils/testutils.go index 1497e99..1b555a5 100644 --- a/shared/testutils/testutils.go +++ b/shared/testutils/testutils.go @@ -39,7 +39,11 @@ func getInitialWd() string { return cwd } components := strings.Split(cwd, "/hishtory/") - return components[0] + "/hishtory" + dir := components[0] + "/hishtory" + if IsGithubAction() { + dir += "/hishtory" + } + return dir } func ResetLocalState(t *testing.T) {