chore(ci): add coverage upload

pull/764/head
Simon Aronsson 5 years ago
parent 5532c4e905
commit 3369d2427c
No known key found for this signature in database
GPG Key ID: 8DA57A5FD341605B

@ -47,7 +47,11 @@ jobs:
go-version: 1.15.x go-version: 1.15.x
- name: Run tests - name: Run tests
run: | run: |
go test ./... -coverprofile coverage.out CGO_ENABLED=0 go test -v -coverprofile=coverage.out -covermode=atomic ./...
- name: Publish coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
build: build:
name: Build name: Build

@ -147,6 +147,10 @@ jobs:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install mkdocs - name: Install mkdocs
run: | run: |
pip install \ pip install \

Loading…
Cancel
Save