Skip to content

Commit

Permalink
fix coverage publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamolegga committed Jan 17, 2022
1 parent ab3cccc commit adc194f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
run: |
make install
- name: Set codeclimate prefix
run: |
echo "CC_PREFIX=$(go list -m)" >> $GITHUB_ENV
- name: publish code coverage
uses: paambaati/[email protected]
if: ${{ github.ref == 'refs/heads/master' }}
with:
coverageCommand: make coverage
coverageLocations: |
${{github.workspace}}/c.out:gocov
prefix: ${{ env.CC_PREFIX }}
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}

0 comments on commit adc194f

Please sign in to comment.