Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Temporarily skip etcd-manager gotest
Browse files Browse the repository at this point in the history
The go.mod means we'll have to run the tests from that subdirectory
(or converge the set of go.mod dependencies).
  • Loading branch information
justinsb committed Sep 2, 2020
1 parent 1446b36 commit 72bb7da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/verify-gotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 72bb7da

Please sign in to comment.