File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
magento-integration-tests Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ test -z "${MAGENTO_VERSION}" && MAGENTO_VERSION=$CE_VERSION
1818test -z " $MAGENTO_VERSION " && MAGENTO_VERSION=" 2.4.3-p1"
1919test -z " $PROJECT_NAME " && PROJECT_NAME=" magento/project-community-edition"
2020test -z " ${REPOSITORY_URL} " && REPOSITORY_URL=" https://repo-magento-mirror.fooman.co.nz/"
21+ test -z " $DISABLE_DATABASE_DUMP " && DISABLE_DATABASE_DUMP=" 1"
2122
2223if [[ " $MAGENTO_VERSION " == " 2.4." * ]]; then
2324 ELASTICSEARCH=1
@@ -125,6 +126,11 @@ if [[ ! -z "$INPUT_MAGENTO_POST_INSTALL_SCRIPT" && -f "${GITHUB_WORKSPACE}/$INPU
125126 . ${GITHUB_WORKSPACE} /$INPUT_MAGENTO_POST_INSTALL_SCRIPT
126127fi
127128
129+ if [[ " $DISABLE_DATABASE_DUMP " == " 1" ]]; then
130+ echo " Disabling phpunit.xml database dump"
131+ sed -i ' s/protected \$dumpDb = true;/protected \$dumpDb = false;/' " $MAGENTO_ROOT /dev/tests/integration/framework/Magento/TestFramework/Application.php"
132+ fi
133+
128134echo " Trying phpunit.xml file $PHPUNIT_FILE "
129135if [[ ! -z " $PHPUNIT_FILE " ]] ; then
130136 PHPUNIT_FILE=${GITHUB_WORKSPACE} /${PHPUNIT_FILE}
You can’t perform that action at this time.
0 commit comments