Dagger
Search

codecov

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/codecov-pipeline@a16ea3799ee4cd5da182a4d44ed2cca54691e289

Entrypoint

Return Type
Codecov
Example
dagger -m github.com/fluent-ci-templates/codecov-pipeline@a16ea3799ee4cd5da182a4d44ed2cca54691e289 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
NameTypeDefault ValueDescription
srcDirectory !-No description provided
tokenSecret !-No description provided
Example
dagger -m github.com/fluent-ci-templates/codecov-pipeline@a16ea3799ee4cd5da182a4d44ed2cca54691e289 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)
}