File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/6.2/phpunit.xsd"
4+ colors =" true"
5+ beStrictAboutTestsThatDoNotTestAnything =" false"
6+ bootstrap =" ./framework/bootstrap.php"
7+ stderr =" true"
8+ >
9+ <testsuites >
10+ <testsuite name =" UnitTests" >
11+ <directory suffix =" Test.php" >../../../vendor/%COMPOSER_NAME%/Test/Unit</directory >
12+ <directory suffix =" Test.php" >../../../vendor/%COMPOSER_NAME%/tests/Unit</directory >
13+ <directory suffix =" Test.php" >../../../vendor/%COMPOSER_NAME%/tests/unit</directory >
14+ </testsuite >
15+ </testsuites >
16+ <php >
17+ <ini name =" date.timezone" value =" America/Los_Angeles" />
18+ <ini name =" xdebug.max_nesting_level" value =" 200" />
19+ </php >
20+ </phpunit >
Original file line number Diff line number Diff line change @@ -54,14 +54,17 @@ COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist --no-interaction --no-pr
5454echo " Determine which phpunit.xml file to use"
5555
5656echo " Trying phpunit.xml file $PHPUNIT_FILE "
57- if [[ ! -z " $PHPUNIT_FILE " && ! -f " $PHPUNIT_FILE " ]] ; then
57+ if [[ ! -z " $PHPUNIT_FILE " ]] ; then
5858 PHPUNIT_FILE=${GITHUB_WORKSPACE} /${PHPUNIT_FILE}
5959fi
6060
6161if [[ ! -f " $PHPUNIT_FILE " ]] ; then
62- PHPUNIT_FILE=/docker-files/phpunit.xml
62+ if [[ " $MAGENTO_VERSION " == 2.4.8* ]]; then
63+ PHPUNIT_FILE=/docker-files/phpunitv10.xml
64+ else
65+ PHPUNIT_FILE=/docker-files/phpunit.xml
66+ fi
6367fi
64-
6568echo " Using PHPUnit file: $PHPUNIT_FILE "
6669echo " Prepare for unit tests"
6770cd $MAGENTO_ROOT
You can’t perform that action at this time.
0 commit comments