Collect code coverage

This commit is contained in:
Peter 2022-04-14 16:55:25 +02:00
parent 00b7f12d65
commit 4ecaabdd1d
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -36,6 +36,12 @@ jobs:
- name: Run tests - name: Run tests
run: gotestsum -- -coverprofile=out/cover.txt -shuffle=on -race -covermode=atomic ./... run: gotestsum -- -coverprofile=out/cover.txt -shuffle=on -race -covermode=atomic ./...
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
files: out/cover.txt
name: kreaper
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with: