File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed 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
54
54
echo " Determine which phpunit.xml file to use"
55
55
56
56
echo " Trying phpunit.xml file $PHPUNIT_FILE "
57
- if [[ ! -z " $PHPUNIT_FILE " && ! -f " $PHPUNIT_FILE " ]] ; then
57
+ if [[ ! -z " $PHPUNIT_FILE " ]] ; then
58
58
PHPUNIT_FILE=${GITHUB_WORKSPACE} /${PHPUNIT_FILE}
59
59
fi
60
60
61
61
if [[ ! -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
63
67
fi
64
-
65
68
echo " Using PHPUnit file: $PHPUNIT_FILE "
66
69
echo " Prepare for unit tests"
67
70
cd $MAGENTO_ROOT
You can’t perform that action at this time.
0 commit comments