MCPcopy Create free account
hub / github.com/cli/cli / TestRun

Function TestRun

pkg/cmd/run/shared/test.go:13–15  ·  view source on GitHub ↗
(id int64, s Status, c Conclusion)

Source from the content-addressed store, hash-verified

11var TestRunStartTime, _ = time.Parse("2006-01-02 15:04:05", "2021-02-23 04:51:00")
12
13func TestRun(id int64, s Status, c Conclusion) Run {
14 return TestRunWithCommit(id, s, c, "cool commit")
15}
16
17func TestRunWithCommit(id int64, s Status, c Conclusion, commit string) Run {
18 return TestRunWithWorkflowAndCommit(123, id, s, c, commit)

Callers 1

test.goFile · 0.70

Calls 1

TestRunWithCommitFunction · 0.85

Tested by

no test coverage detected