mirror of
https://github.com/helm/helm.git
synced 2026-04-15 21:59:50 -04:00
fix(coverage): cd to root dir to avoid adding godir to go modules
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
This commit is contained in:
parent
0ab2bbc019
commit
b048f8914b
2 changed files with 3 additions and 1 deletions
|
|
@ -22,6 +22,6 @@ linters-settings:
|
|||
gofmt:
|
||||
simplify: true
|
||||
goimports:
|
||||
local-prefixes: helm.sh/helm
|
||||
local-prefixes: helm.sh/helm/v3
|
||||
dupl:
|
||||
threshold: 400
|
||||
|
|
|
|||
|
|
@ -20,8 +20,10 @@ covermode=${COVERMODE:-atomic}
|
|||
coverdir=$(mktemp -d /tmp/coverage.XXXXXXXXXX)
|
||||
profile="${coverdir}/cover.out"
|
||||
|
||||
pushd /
|
||||
hash goveralls 2>/dev/null || go get github.com/mattn/goveralls
|
||||
hash godir 2>/dev/null || go get github.com/Masterminds/godir
|
||||
popd
|
||||
|
||||
generate_cover_data() {
|
||||
for d in $(godir) ; do
|
||||
|
|
|
|||
Loading…
Reference in a new issue