drupal_tests
drupal_tests copied to clipboard
Unable to use on an install profile
We attempted to use drupal_tests with an install profile as its own independent repo, and we've found that everything hard-codes the path to modules/repo-name including:
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/RoboFile.php#L101
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/RoboFile.php#L193
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/RoboFile.php#L270
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/behat.sh#L36
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/code-sniffer.sh#L13
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/code-sniffer.sh#L14
- https://github.com/deviantintegral/drupal_tests/blob/master/hooks/code-sniffer.sh#L16
We worked around this by adding a symlink from profiles/repo-name to modules/repo-name in our update-dependencies job, which then persisted to the rest of the jobs with the shared workspace. I'm not yet aware of the downsides.