Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.23 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.23 KB

CircleCI Coverage Status Go Report Card

gocoverage

A simple flexible tool to generate a unified coverage file for all your Go code.

Continuous Integration with coveralls.io

Use with mattn/goveralls to send metrics to coveralls.io:

go get github.com/philwinder/gocoverage
go get github.com/mattn/goveralls
gocoverage
goveralls -coverprofile=profile.cov -service=circle-ci -repotoken=${COVERALLS_TOKEN}

Options

Usage of gocoverage:
  -dir string
        Directory to start recursing for tests (default ".")
  -ignore string
        RegEx that ignores files and folders. Default ignores hidden folders and vendor folder. (default "\\/(vendor|\\.\\w+)")
  -output string
        Filename for the output coverage file. (default "profile.cov")