Skip to content

Commit

Permalink
enable coveralls
Browse files Browse the repository at this point in the history
enable coveralls via github actions
  • Loading branch information
mschoch committed Apr 7, 2020
1 parent af7e5df commit cea7a90
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cover.yml
@@ -0,0 +1,23 @@
on:
push:
branches:
- master
pull_request:
name: Coverage
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: '1.14.x'
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
go test -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov

0 comments on commit cea7a90

Please sign in to comment.