From 8151e47211d31bd628d226ef0ac12081143dca5a Mon Sep 17 00:00:00 2001 From: Jguer Date: Wed, 16 Oct 2019 17:24:59 +0100 Subject: [PATCH] Fix linting test not exiting in case of error --- testdata/ci/full.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testdata/ci/full.sh b/testdata/ci/full.sh index 770f77c5..c740d7a3 100755 --- a/testdata/ci/full.sh +++ b/testdata/ci/full.sh @@ -12,10 +12,10 @@ docker build --build-arg BUILD_ARCH=${ARCH} --target builder_env -t yay-builder_ docker build --build-arg BUILD_ARCH=${ARCH} --target builder -t yay-builder . || exit $? # Our unit test and packaging container -docker run --rm --name yay-go-tests yay-builder_env:latest make test +docker run --rm --name yay-go-tests yay-builder_env:latest make test || exit $? # Lint project -docker run --rm --name yay-go-lint yay-builder_env:latest make lint +docker run --rm --name yay-go-lint yay-builder_env:latest make lint || exit $? # Build image for integration testing # docker build -t yay . || exit $?