diff --git a/debian/rules b/debian/rules index 52646034..912f8d33 100755 --- a/debian/rules +++ b/debian/rules @@ -45,7 +45,9 @@ override_dh_auto_build: (cd ${SRCDIR} && go install -buildmode=pie ./...) override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) (cd ${SRCDIR} && go test -v ./...) +endif override_dh_auto_install: cp ${GOBIN}/yq ${DESTDIR}/${BINDIR}