add code coverage action
This commit is contained in:
parent
71522343d7
commit
47d9887a06
13
.github/workflows/cover.yaml
vendored
Normal file
13
.github/workflows/cover.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user