Skip to content

Commit

Permalink
ci: switch from coveralls to codecov (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp authored and wass3r committed Dec 18, 2019
1 parent 50b0181 commit 255165e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![GoDoc](https://godoc.org/github.com/go-vela/types?status.svg)](https://godoc.org/github.com/go-vela/types)
[![Go Report Card](https://goreportcard.com/badge/go-vela/types)](https://goreportcard.com/report/go-vela/types)
[![Coverage Status](https://coveralls.io/repos/github/go-vela/types/badge.svg?branch=master)](https://coveralls.io/github/go-vela/types?branch=master)
[![codecov](https://codecov.io/gh/go-vela/types/branch/master/graph/badge.svg)](https://codecov.io/gh/go-vela/types)

> Vela is in active development and is a pre-release product. Please use at your own risk in production.
>
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
run: |
go test -race -covermode=atomic -coverprofile=coverage.out ./...
- name: coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# https://github.com/mattn/goveralls#goveralls
$(go env GOPATH)/bin/goveralls -service=github -coverprofile=coverage.out
- name: coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out

0 comments on commit 255165e

Please sign in to comment.