diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c31c3b3..7fcdba3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,6 +40,12 @@ jobs: go mod vendor go test -race -coverprofile=coverage.txt -covermode=atomic -v -tags "static" $(go list ./... | grep -v /vendor/) + - uses: codecov/codecov-action@v2 + with: + files: ./coverage.txt + flags: unittests + fail_ci_if_error: true + verbose: true - name: Build Binaries run: |