Add step for codecov

This commit is contained in:
TwinProduction 2020-10-21 23:05:11 -04:00
parent 947a28f45d
commit 147fbe04d7

View File

@ -24,4 +24,8 @@ jobs:
- name: Build binary to make sure it works - name: Build binary to make sure it works
run: go build -mod vendor run: go build -mod vendor
- name: Test - name: Test
run: go test -mod vendor -cover ./... run: go test -mod vendor ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v1.0.14
with:
file: ./coverage.txt