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) <me@hackerc.at>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Justin Grote 2021-06-10 11:27:35 -07:00 committed by GitHub
parent e5d4886787
commit a9295c9db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -309,7 +309,7 @@ func TestGetGitHubContext(t *testing.T) {
log.Debugf("%v", ghc) log.Debugf("%v", ghc)
assert.Equal(t, ghc.RunID, "1") 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.RunNumber, "1")
assert.Equal(t, ghc.RetentionDays, "0") assert.Equal(t, ghc.RetentionDays, "0")
assert.Equal(t, ghc.Actor, "nektos/act") assert.Equal(t, ghc.Actor, "nektos/act")