Skip to content

Commit

Permalink
Add coveralls (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes authored Jul 23, 2020
1 parent 3588d7f commit c2c97c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,11 @@ jobs:
run: go build -v .

- name: Test
run: go test -v .
run: go test -v -race -covermode atomic -coverprofile=profile.cov .

- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -repotoken $COVERALLS_TOKEN -coverprofile=profile.cov
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Go](https://github.com/fmenezes/codeowners/workflows/Go/badge.svg)](https://github.com/fmenezes/codeowners/actions?query=branch%3Amaster)
[![Go Report Card](https://goreportcard.com/badge/github.com/fmenezes/codeowners)](https://goreportcard.com/report/github.com/fmenezes/codeowners)
[![Coverage](https://coveralls.io/repos/github/fmenezes/codeowners/badge.svg?branch=master)](https://coveralls.io/github/fmenezes/codeowners?branch=master)

# CODEOWNERS Decoder

Expand Down

0 comments on commit c2c97c3

Please sign in to comment.