mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
20 lines
315 B
Go
20 lines
315 B
Go
|
|
package e2e
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
type TestForge interface {
|
||
|
|
Init(ctx context.Context, runID string) error
|
||
|
|
CreateRepo(t *testing.T, opts CreateRepoOpts) (*Repository, error)
|
||
|
|
|
||
|
|
RunArguments() []string
|
||
|
|
}
|
||
|
|
|
||
|
|
type CreateRepoOpts struct {
|
||
|
|
Name string
|
||
|
|
Description string
|
||
|
|
DefaultBranch string
|
||
|
|
}
|