From 4ecaabdd1df11e92b5bec84d11e037c3eba19840 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Thu, 14 Apr 2022 16:55:25 +0200 Subject: [PATCH] Collect code coverage --- .github/workflows/go.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e5c517f..c2b2012 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,6 +36,12 @@ jobs: - name: Run tests 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 uses: golangci/golangci-lint-action@v3 with: