Skip to content

Commit

Permalink
ci: upload coverage to codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
ucpr committed Dec 28, 2023
1 parent a3b8381 commit 0d02711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
run: make build

- uses: jandelgado/[email protected]
if: ${{ github.ref != 'refs/heads/main' }}
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' }}
if: ${{ github.ref == 'refs/heads/main' }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand Down

0 comments on commit 0d02711

Please sign in to comment.