Skip to content

Commit

Permalink
Add k8schain tests to presubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Jan 8, 2021
1 parent 25bab95 commit 52dc010
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hack/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ find . -name "*.go" | grep -v vendor/ | xargs gofmt -d -e -l
mkdir -p /tmp/gendoc && go run cmd/crane/help/main.go --dir /tmp/gendoc && diff -Naur /tmp/gendoc/ cmd/crane/doc/

go test ./...

pushd ${PROJECT_ROOT}/pkg/authn/k8schain
trap popd EXIT

go test ./...

0 comments on commit 52dc010

Please sign in to comment.