mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user