codecov
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/codecov@v0.1.0
Entrypoint
Return Type
Codecov
Example
dagger -m github.com/kpenfound/dagger-modules/codecov@5666114042e8871e5b1b7be2b2483b234073944e 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() 🔗
upload: upload coverage reports to codecov.io
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
token | Secret ! | - | No description provided |
name | String | - | No description provided |
verbose | Boolean | - | No description provided |
files | [String ! ] | - | No description provided |
flags | [String ! ] | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/codecov@5666114042e8871e5b1b7be2b2483b234073944e call \
upload --dir DIR_PATH --token env:MYSECRET
func (m *myModule) example(ctx context.Context, dir *Directory, token *Secret) string {
return dag.
Codecov().
Upload(ctx, dir, token)
}
@function
async def example(dir: dagger.Directory, token: dagger.Secret) -> str:
return await (
dag.codecov()
.upload(dir, token)
)
@func()
async example(dir: Directory, token: Secret): Promise<string> {
return dag
.codecov()
.upload(dir, token)
}