drupal-php icon indicating copy to clipboard operation
drupal-php copied to clipboard

Update drush launcher to 0.8.0

Open csandanov opened this issue 4 years ago • 3 comments

Currently has some memory issues that result in tests failures https://github.com/drush-ops/drush-launcher/issues/82

csandanov avatar Dec 10 '20 12:12 csandanov

@csandanov Hi, could you explain how to run the tests? Would like to debug it ... Thanks!

webflo avatar Dec 10 '20 15:12 webflo

  • Update drush launcher version to 0.8.0 in Dockerfile on this line
  • Since we install drush launcher only for PHP 7.x run PHP_VER=7.4 make from the repository root to build the image
  • Comment this line to disable Drupal 8 tests in Makefile since the issue only reproduced in Drupal 7
  • Then run PHP_VER=7.4 make test

Here's the failure example from github actions. It fails on drush status --format=yaml. It first runs drupal 8 tests, then drupal 7, it fails only on Drupal 7 tests that located at https://github.com/wodby/drupal-php/blob/master/tests/7/tests.sh

You probably can just run make shell to launch and access the container after the image is built without running all tests

csandanov avatar Dec 10 '20 16:12 csandanov

Related issue https://github.com/box-project/box/issues/512

webflo avatar Dec 10 '20 22:12 webflo

Included drush launcher is already 0.10.1 so maybe this issue can be closed?

back-2-95 avatar Jan 10 '23 13:01 back-2-95