Execute make target consecutively even on failure (#4324)

* Execute make target consecutively even on failure

* intentionally failing the test to verify the pr behavior

* Reverting the intentionally introduced failure
This commit is contained in:
Priti Kumari
2020-12-24 19:16:49 +05:30
committed by GitHub
parent 20d67e25f9
commit 96fc76e691

View File

@@ -50,13 +50,19 @@ elif [ "${ARCH}" == "ppc64le" ]; then
make test-e2e-all
else
# Integration tests
make test-integration
make test-integration-devfile
make test-cmd-login-logout
make test-cmd-project
make test-operator-hub
make test-integration || error=true
make test-integration-devfile || error=true
make test-cmd-login-logout || error=true
make test-cmd-project || error=true
make test-operator-hub || error=true
# E2e tests
make test-e2e-all
make test-e2e-all || error=true
# Fail the build if there is any error while test execution
if [ $error ]; then
exit -1
fi
fi
cp -r reports $ARTIFACTS_DIR