From a9295c9db261754030e9bddb99dca7b1973b6d61 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Thu, 10 Jun 2021 11:27:35 -0700 Subject: [PATCH] Test fixups for Windows/Forks (#681) * Test fixups for Windows/Forks * revert change for repo/actor/owner this is fixed via https://github.com/nektos/act/pull/723 Co-authored-by: Ryan (hackercat) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- pkg/runner/run_context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/runner/run_context_test.go b/pkg/runner/run_context_test.go index 7cf4e48..2615ba4 100644 --- a/pkg/runner/run_context_test.go +++ b/pkg/runner/run_context_test.go @@ -309,7 +309,7 @@ func TestGetGitHubContext(t *testing.T) { log.Debugf("%v", ghc) assert.Equal(t, ghc.RunID, "1") - assert.Equal(t, ghc.Workspace, cwd) + assert.Equal(t, ghc.Workspace, rc.Config.containerPath(cwd)) assert.Equal(t, ghc.RunNumber, "1") assert.Equal(t, ghc.RetentionDays, "0") assert.Equal(t, ghc.Actor, "nektos/act")