Problem/Motivation
Scheduled branch pipelines are passing.
MR's are failing with:
Message: Failed opening required '/builds/issue/tfa-3587925/tests/src/Unit/Drush/../../../../../../../../vendor/drush/drush/includes/output.inc' (include_path='/builds/issue/tfa-3587925/vendor/pear/pear_exception:/builds/issue/tfa-3587925/vendor/pear/console_getopt:/builds/issue/tfa-3587925/vendor/pear/pear-core-minimal/src:/builds/issue/tfa-3587925/vendor/pear/archive_tar:.:/usr/local/lib/php')
(In fairness I likely should have used require_once(\Composer\InstalledVersions::getInstallPath('drush/drush') . '/includes/output.inc') or require_once(DRUPAL_ROOT . '/../vendor/drush/drush/includes/output.inc'))
This identifies that the code is now executing from the builds path instead of from web/modules/custom/tfa where it should be. It is doing so only on MR not the branch commits creating a non-congruence in operations.
While adjusting the path would be a quick fix, it does not solve other negative effects (such as loss of Code Coverage) that being in the build root causes.
Steps to reproduce
Create MR pipeline.
Comments