mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-06 03:54:54 +00:00
Add codeclimate reporting on coverage.
This commit is contained in:
@@ -75,6 +75,14 @@ jobs:
|
|||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
make test CI_RUN=${CI}
|
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:
|
code_scans:
|
||||||
needs: [ prepare ]
|
needs: [ prepare ]
|
||||||
|
|||||||
Reference in New Issue
Block a user