Collect code coverage
This commit is contained in:
parent
00b7f12d65
commit
4ecaabdd1d
1 changed files with 6 additions and 0 deletions
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
@ -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:
|
||||||
|
|
Reference in a new issue