Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultCheckRunName = "Coverage report"
Variables ¶
View Source
var ErrMissingWorkflowRunField = errors.New("event of type 'workflow_run' is missing 'workflow_run' field")
Functions ¶
Types ¶
type CheckCreator ¶
type CheckCreator interface {
CreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
}
CheckCreator is just an interface to allow easy testing
type CheckRun ¶ added in v0.0.4
type CheckRun struct {
// contains filtered or unexported fields
}
CheckRun implements coverage report notification for github check runs.
func NewCheckRun ¶ added in v0.0.4
func NewCheckRun(ghAction *githubactions.Action, cc CheckCreator, checkName string) *CheckRun
type StepSummary ¶ added in v0.0.4
type StepSummary struct {
// contains filtered or unexported fields
}
StepSummary implements coverage report notification for github actions step summary.
func NewStepSummary ¶ added in v0.0.4
func NewStepSummary(action *githubactions.Action) *StepSummary
Click to show internal directories.
Click to hide internal directories.