Skip to content

Commit

Permalink
add codecov to action, fix README build status
Browse files Browse the repository at this point in the history
  • Loading branch information
jcuga committed Aug 20, 2023
1 parent 0c0bbc6 commit 1505d7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
- name: Install dependencies
Expand All @@ -35,5 +34,8 @@ jobs:
go build examples/stressor/client/main.go
go build examples/authentication/auth.go
go build examples/microchat/microchat.go
# TODO: upload code coverage results
- uses: codecov/codecov-action@v3
with:
files: ./coverage.txt
fail_ci_if_error: true
verbose: true
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

# golongpoll [![build workflow](https://github.com/jcuga/golongpoll/actions/workflows/main.yml/badge.svg)
](https://travis-ci.com/jcuga/golongpoll) [![codecov](https://codecov.io/gh/jcuga/golongpoll/branch/master/graph/badge.svg)](https://codecov.io/gh/jcuga/golongpoll) [![GoDoc](https://godoc.org/github.com/jcuga/golongpoll?status.svg)](https://godoc.org/github.com/jcuga/golongpoll) [![Go Report Card](https://goreportcard.com/badge/jcuga/golongpoll)](https://goreportcard.com/report/jcuga/golongpoll)
# golongpoll [![build workflow](https://github.com/jcuga/golongpoll/actions/workflows/main.yml/badge.svg)] [![codecov](https://codecov.io/gh/jcuga/golongpoll/branch/master/graph/badge.svg)](https://codecov.io/gh/jcuga/golongpoll) [![GoDoc](https://godoc.org/github.com/jcuga/golongpoll?status.svg)](https://godoc.org/github.com/jcuga/golongpoll) [![Go Report Card](https://goreportcard.com/badge/jcuga/golongpoll)](https://goreportcard.com/report/jcuga/golongpoll)
Golang long polling library. Makes web pub-sub easy via HTTP long-poll servers and clients. Supports golang v1.9 and up.

## Resources
Expand Down

0 comments on commit 1505d7d

Please sign in to comment.