Skip to content

Commit 8118ba2

Browse files
rhoerrclaude
andauthored
fix(workflows): run the Mage-OS Suite testsuite, not a removed one (#371)
The workflow strips the upstream "Memory Usage Tests" and "Magento Integration Tests Real Suite" testsuites from phpunit.xml.dist, then injects a new "Mage-OS Suite" containing the shard's directories. However, the run command still passed --testsuite 'Magento Integration Tests' — a name that no longer exists in upstream phpunit.xml.dist — causing PHPUnit to print "No tests executed!" on every shard. Invoke the suite the workflow actually builds. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent dcb0e5b commit 8118ba2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/full-integration-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ jobs:
242242
working-directory: ./main
243243
run: |
244244
export WARDEN="$(dirname $(pwd))/warden/bin/warden"
245-
# Important: Run the custom "Magento Integration Tests" test suite, which runs all other test suites
246-
${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
245+
# Run the "Mage-OS Suite" testsuite injected above, which contains this shard's directories
246+
${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
247247
248248
rum-memory-integration-tests:
249249
needs: [ matrix-calculator ]

0 commit comments

Comments
 (0)