Merge pull request #33 from heyitsanthony/cov

add coverage reports
pull/34/merge
Anthony Romano 2017-08-30 15:53:31 -07:00 committed by GitHub
commit a148de800f
2 changed files with 7 additions and 4 deletions

View File

@ -20,7 +20,8 @@ errcheck:
@errcheck -ignorepkg=bytes -ignore=os:Remove github.com/coreos/bbolt @errcheck -ignorepkg=bytes -ignore=os:Remove github.com/coreos/bbolt
test: test:
@go test -v -cover . go test -timeout 20m -v -coverprofile cover.out -covermode atomic
@go test -v ./cmd/bolt # Note: gets "program not an importable package" in out of path builds
go test -v ./cmd/bolt
.PHONY: fmt test .PHONY: race fmt errcheck test

View File

@ -1,7 +1,9 @@
bbolt bbolt
==== ====
[![Go Report Card](https://goreportcard.com/badge/github.com/coreos/bbolt?style=flat-square)](https://goreportcard.com/report/github.com/coreos/bbolt) [![Godoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/coreos/bbolt) [![Go Report Card](https://goreportcard.com/badge/github.com/coreos/bbolt?style=flat-square)](https://goreportcard.com/report/github.com/coreos/bbolt)
[![Coverage](https://codecov.io/gh/coreos/bbolt/branch/master/graph/badge.svg)](https://codecov.io/gh/coreos/bbolt)
[![Godoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/coreos/bbolt)
bbolt is a fork of [Ben Johnson's][gh_ben] moribund [Bolt][bolt] key/value bbolt is a fork of [Ben Johnson's][gh_ben] moribund [Bolt][bolt] key/value
store. The purpose of this fork is to provide the Go community with an active store. The purpose of this fork is to provide the Go community with an active