mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +00:00
Add codeclimate reporting on coverage.
This commit is contained in:
@@ -75,6 +75,14 @@ jobs:
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
make test CI_RUN=${CI}
|
||||
- name: Codeclimate
|
||||
uses: paambaati/codeclimate-action@v2.7.5
|
||||
with:
|
||||
coverageCommand: go test -race -coverprofile=cover.out -covermode=atomic -v -bench=. ./...
|
||||
coverageLocations:
|
||||
"${{github.workspace}}/cover.out:gocov"
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_KEY }}
|
||||
|
||||
code_scans:
|
||||
needs: [ prepare ]
|
||||
|
||||
Reference in New Issue
Block a user