From d1e7a373b79479a66c02c7a37a2d9c9befc428a9 Mon Sep 17 00:00:00 2001 From: Nicolas Chan Date: Wed, 3 Mar 2021 18:12:33 -0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5faa435..df7876c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,4 +34,11 @@ jobs: run: test/test.sh - name: Run coverage - run: kcov --include-pattern=backup.sh $(pwd)/coverage test/test.sh + run: kcov --include-pattern=backup.sh "$(pwd)"/coverage test/test.sh + + - name: Codecov + uses: codecov/codecov-action@v1.2.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage/test.sh/cov.xml +