codecov
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/codecov-pipeline@6e8b965f8f0696ebe8fa2e00495027479728a345
Entrypoint
Return Type
Codecov
Example
dagger -m github.com/fluent-ci-templates/codecov-pipeline@6e8b965f8f0696ebe8fa2e00495027479728a345 call \
func (m *myModule) example() *Codecov {
return dag.
Codecov()
}
@function
def example() -> dag.Codecov:
return (
dag.codecov()
)
@func()
example(): Codecov {
return dag
.codecov()
}
Types
Codecov 🔗
upload() 🔗
Uploads code coverage to Codecov
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
token | Secret ! | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/codecov-pipeline@6e8b965f8f0696ebe8fa2e00495027479728a345 call \
upload --src DIR_PATH --token env:MYSECRET
func (m *myModule) example(ctx context.Context, src *Directory, token *Secret) string {
return dag.
Codecov().
Upload(ctx, src, token)
}
@function
async def example(src: dagger.Directory, token: dagger.Secret) -> str:
return await (
dag.codecov()
.upload(src, token)
)
@func()
async example(src: Directory, token: Secret): Promise<string> {
return dag
.codecov()
.upload(src, token)
}