Add codeclimate reporting on coverage.

This commit is contained in:
2021-07-27 10:22:03 +01:00
parent 5ef55cc520
commit dc22f7c281
+8
View File
@@ -75,6 +75,14 @@ jobs:
- name: Run unit tests
run: |
make test CI_RUN=${CI}
- name: Codeclimate
uses: paambaati/[email protected]
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 ]