Categorygithub.com/drone-plugins/drone-codecov
repositorypackage
2.0.3+incompatible
Repository: https://github.com/drone-plugins/drone-codecov.git
Documentation: pkg.go.dev

# README

drone-codecov

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin to send coverage reports to Codecov. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-codecov
docker build --rm -t plugins/codecov .

Usage

docker run --rm \
  -e PLUGIN_TOKEN=xxx \
  -e DRONE_COMMIT=5f17090 \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/codecov