Skip to content

Woodpecker / Drone plugin to publish coverage to Codecov

License

Notifications You must be signed in to change notification settings

woodpecker-ci/plugin-codecov

Repository files navigation

plugin-codecov

Woodpecker plugin to send coverage reports to Codecov.

Build

Build the binary with the following command:

export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0

go build -ldflags '-s -w -extldflags "-static"' -o plugin-codecov

Docker

Build the Docker image with the following command:

docker build -f docker/Dockerfile.alpine -t woodpeckerci/plugin-codecov:next-alpine .