File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,17 @@ jobs:
215215 working-directory : ./main/dev/tests/integration
216216 run : |
217217 FILE="phpunit.xml.dist"
218+
219+ # Remove Memory Usage Tests and Magento Integration Tests Real Suite test suites
220+ sed -i '/<testsuite name="Memory Usage Tests">/,/<\/testsuite>/d' "$FILE"
221+ sed -i '/<testsuite name="Magento Integration Tests Real Suite">/,/<\/testsuite>/d' "$FILE"
222+
218223 DIRS="${{ matrix.testsuite_dirs }}"
219224 echo "Debug: $DIRS"
220225 NEW_TESTSUITE_ENTRY=$(
221226 echo "<testsuite name=\"Mage-OS Suite\">"
222227 IFS=','; for dir in $DIRS; do echo " <directory>$dir</directory>"; done
228+ echo " <exclude>testsuite/Magento/IntegrationTest.php</exclude>"
223229 echo "</testsuite>"
224230 )
225231 echo "Debug: $NEW_TESTSUITE_ENTRY"
@@ -231,7 +237,8 @@ jobs:
231237 working-directory : ./main
232238 run : |
233239 export WARDEN="$(dirname $(pwd))/warden/bin/warden"
234- ${WARDEN} env exec -T --workdir /var/www/html/dev/tests/integration php-fpm ../../../vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite 'Mage-OS Suite' --log-junit=../../../phpunit-output/junit/res-log.xml --coverage-html=../../../phpunit-output/coverage-html/res.html
240+ # Important: Run the custom "Magento Integration Tests" test suite, which runs all other test suites
241+ ${WARDEN} env exec -T --workdir /var/www/html/dev/tests/integration php-fpm ../../../vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite 'Magento Integration Tests' --log-junit=../../../phpunit-output/junit/res-log.xml --coverage-html=../../../phpunit-output/coverage-html/res.html
235242
236243 rum-memory-integration-tests :
237244 needs : [ matrix-calculator ]
You can’t perform that action at this time.
0 commit comments