Skip to content

Commit

Permalink
add coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
amalfra committed Jun 11, 2023
1 parent 419ecef commit ebf96c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ jobs:
uses: actions/checkout@v2
- name: Test
run: make test
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
*.out

vendor/
test.go
test.go
*.cov
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ vet:
go vet ./...

test:
go test -v ./...
go test -v ./... -coverprofile=profile.cov

build: fmt vet test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ gin-statsd
![Build Status](https://github.com/amalfra/gin-statsd/actions/workflows/test.yml/badge.svg?branch=main)
[![GoDoc](https://godoc.org/github.com/amalfra/gin-statsd/v3?status.svg)](https://godoc.org/github.com/amalfra/gin-statsd/v3)
[![Go Report Card](https://goreportcard.com/badge/github.com/amalfra/gin-statsd/v3)](https://goreportcard.com/report/github.com/amalfra/gin-statsd/v3)
[![Coverage Status](https://coveralls.io/repos/github/amalfra/gin-statsd/badge.svg?branch=main)](https://coveralls.io/github/amalfra/gin-statsd?branch=main)

A [Gin](https://github.com/gin-gonic/gin) middleware for reporting to statsd daemon.

Expand Down

0 comments on commit ebf96c3

Please sign in to comment.