From e930a2922cb213c9d98550b4cf0ca9cbc5d0450f Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Wed, 6 Oct 2021 17:11:12 +0530 Subject: [PATCH] chore:Add codecov coverage reporting in CI flow (#2218) Signed-off-by: Sanket Sudake --- .github/workflows/lint.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8c85b3b9..5f25937f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -68,4 +68,11 @@ jobs: exit $STATUS - name: Run unit tests - run: ./hack/runtests.sh \ No newline at end of file + run: ./hack/runtests.sh + + - name: Upload Coverage report to CodeCov + uses: codecov/codecov-action@v2 + with: + token: ${{secrets.CODECOV_TOKEN}} + flags: unittests + file: ./coverage.txt \ No newline at end of file