From a3b8381420f7b2640a42d85e32f0ac025c0c5720 Mon Sep 17 00:00:00 2001 From: ucpr Date: Fri, 29 Dec 2023 02:03:01 +0900 Subject: [PATCH] ci: upload coverage to codeclimate --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 64a3668..670cbd3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,12 +36,14 @@ jobs: run: make build - uses: jandelgado/gcov2lcov-action@v1.0.9 + if: ${{ github.ref != 'refs/heads/main' }} with: infile: coverage.out outfile: coverage.lcov version: v1.0.6 - name: Report coverage to CodeClimate + if: ${{ github.ref != 'refs/heads/main' }} uses: paambaati/codeclimate-action@v5.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}