codecov
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/codecov-pipeline@891dbcb9b788599c09dc78f27ea6e7eb62789162
Entrypoint
Return Type
Codecov
Example
dagger -m github.com/fluent-ci-templates/codecov-pipeline@891dbcb9b788599c09dc78f27ea6e7eb62789162 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@891dbcb9b788599c09dc78f27ea6e7eb62789162 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)
}