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:
parent
7afc4cb60e
commit
987eeefa81
9
.github/workflows/verify-go.yml
vendored
9
.github/workflows/verify-go.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user