From 967dc858117fba0a936c0cfb027e22a6ab54f150 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 8c85b3b99..5f25937f7 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