From eac12ffa21b95e1045f4583dfb5f827538824a5c Mon Sep 17 00:00:00 2001 From: Riku Rauhala Date: Fri, 28 Jun 2024 21:41:19 +0300 Subject: [PATCH] Add Code Climate coverage report upload to CI --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 908b7a4..f314474 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,3 +66,10 @@ jobs: directory: ./coverage fail_ci_if_error: true verbose: true + + - name: Upload code coverage report to Code Climate + uses: paambaati/codeclimate-action@v2.2.4 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageCommand: npm run coverage