From 24d3d155961aa7d6cebd315619fc4cdad1608819 Mon Sep 17 00:00:00 2001 From: parMaster Date: Fri, 14 Jul 2023 16:21:19 +0300 Subject: [PATCH] codecov.io integration --- .github/workflows/go.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5371a1b..fc8488c 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,4 +23,9 @@ jobs: - name: Test run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... env: - GOFLAGS: "-mod=vendor" \ No newline at end of file + GOFLAGS: "-mod=vendor" + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}