Skip to content

Commit

Permalink
Add coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
u2386 committed Feb 29, 2020
1 parent 1c10051 commit 2d5942d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Run tests
run: go test -v -race

Expand All @@ -58,7 +58,7 @@ jobs:
with:
go-version: 1.13.x
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Calc coverage
run: |
export PATH=$PATH:$(go env GOPATH)/bin
Expand All @@ -71,5 +71,5 @@ jobs:
- name: Coveralls
uses: coverallsapp/github-action@v1.0.1
with:
github-token: ${{ secrets.github_token }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

![build](https://github.com/u2386/gron/workflows/Go/badge.svg?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/u2386/gron)](https://goreportcard.com/report/github.com/u2386/gron)
[![Coverage Status](https://coveralls.io/repos/github/u2386/gron/badge.svg?branch=master)](https://coveralls.io/github/u2386/gron?branch=master)

Gron is an elegant and simple periodic task scheduler, for human.

Expand Down

0 comments on commit 2d5942d

Please sign in to comment.