1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

chore(pipeline): add Code Climate coverage reporting for GO (#1148)

* add Code Climate coverage reporting

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml
This commit is contained in:
Christopher Fenner 2020-07-22 12:30:15 +02:00 committed by GitHub
parent 7afc4cb60e
commit 987eeefa81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,14 @@ jobs:
- name: checkout
uses: actions/checkout@v2
- name: unit-test
run: go test ./... --cover
uses: paambaati/codeclimate-action@v2.6.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}
with:
coverageCommand: go test ./... -coverprofile cover.out
coverageLocations: cover.out:gocov
# truncate package name from file paths in report
prefix: github.com/SAP/jenkins-library/
format:
runs-on: ubuntu-latest
steps: