add code coverage action

This commit is contained in:
Arpad Ryszka 2020-11-26 17:15:52 +01:00
parent 71522343d7
commit 47d9887a06

13
.github/workflows/cover.yaml vendored Normal file
View File

@ -0,0 +1,13 @@
on:
push:
branches: [master]
jobs:
cover:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- run: make cover
- uses: codecov/codecov-action@v1
with:
file: .coverprofile