Skip to content

Commit

Permalink
chore: integrate with codecov and add status badges to README (#2)
Browse files Browse the repository at this point in the history
* chore: add status badges

* chore: integrate with codecov
  • Loading branch information
3rs4lg4d0 committed Oct 17, 2023
1 parent 581332d commit d2bd8ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ jobs:
with:
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Generate sources
run: go generate -v ./...

- name: Build all
run: go build -v ./...

- name: Test
run: go test -v -cover ./...
run: go test -v -race -covermode=atomic -coverprofile=coverage.out

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

dependabot:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![CI pipeline](https://github.com/3rs4lg4d0/go-kafka-checker/actions/workflows/ci.yaml/badge.svg)](https://github.com/3rs4lg4d0/go-kafka-checker/actions/workflows/ci.yaml)
[![Go Report Card](https://goreportcard.com/badge/github.com/3rs4lg4d0/go-kafka-checker)](https://goreportcard.com/report/github.com/3rs4lg4d0/go-kafka-checker)
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

# go-kafka-checker
Expand Down

0 comments on commit d2bd8ca

Please sign in to comment.