diff --git a/hack/verify-gotest.sh b/hack/verify-gotest.sh index 2c81fbfdc..30ce3457a 100755 --- a/hack/verify-gotest.sh +++ b/hack/verify-gotest.sh @@ -25,7 +25,8 @@ cd_root_path # run go test export GO111MODULE=on ERROR=0 -DIRS=$(git ls-files | grep -v "vendor\/" | grep ".go" | xargs dirname | grep -v "\." | cut -d '/' -f 1 | uniq) +# To ease merging repos, we initially exclude etcd-manager, then will fix it here +DIRS=$(git ls-files | grep -v "vendor\/" | grep -v "etcd-manager\/" | grep ".go" | xargs dirname | grep -v "\." | cut -d '/' -f 1 | uniq) while read -r dir; do go test ./"$dir"/... || ERROR=1 done <<< "$DIRS"