tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9
Entrypoint
Return Type
Tests !
Arguments
Name | Type | Description |
---|---|---|
githubToken | Secret | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
func (m *myModule) example() *Tests {
return dag.
Tests()
}
@function
def example() -> dag.Tests:
return (
dag.tests()
)
@func()
example(): Tests {
return dag
.tests()
}
Types
Tests 🔗
gitHubToken() 🔗
Return Type
Secret !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
git-hub-token
func (m *myModule) example() *Secret {
return dag.
Tests().
GitHubToken()
}
@function
def example() -> dagger.Secret:
return (
dag.tests()
.git_hub_token()
)
@func()
example(): Secret {
return dag
.tests()
.gitHubToken()
}
all() 🔗
All executes all tests.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.all()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.all()
}
help() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
help
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Help(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.help()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.help()
}
clone() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
clone
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Clone(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.clone()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.clone()
}
withGitExec() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh/tests@cbaf0f240d050b6afa6539193a6773b4a1e4bbe9 call \
with-git-exec
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithGitExec(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_git_exec()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withGitExec()
}