File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 3737 uses : ./.github/actions/run-tests
3838 env :
3939 GOPATH : /github/home/go
40- - name : Check if working tree is dirty
41- run : |
42- if [[ $(git diff --stat) != '' ]]; then
43- git --no-pager diff
44- echo 'run make test and commit changes'
45- exit 1
46- fi
40+ - name : Verify
41+ run : make verify
4742 - name : Run E2E tests
4843 env :
4944 CREATE_CLUSTER : false
Original file line number Diff line number Diff line change @@ -228,3 +228,12 @@ update-attributions:
228228
229229e2e :
230230 ./hack/ci/e2e.sh
231+
232+ verify : update-attributions fmt vet
233+ ifneq (, $(shell git status --porcelain --untracked-files=no) )
234+ @{ \
235+ echo "working directory is dirty:"; \
236+ git --no-pager diff; \
237+ exit 1; \
238+ }
239+ endif
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ kubectl -n source-system delete -f "${ROOT_DIR}/config/testdata/helmchart-values
8181
8282echo " Setup Minio"
8383kubectl create ns minio
84- helm repo add minio https://helm.min.io/
84+ helm repo add minio https://helm.min.io/ --force-update
8585helm upgrade minio minio/minio --wait -i \
8686 --version " ${MINIO_HELM_VER} " \
8787 --namespace minio \
You can’t perform that action at this time.
0 commit comments