Skip to content
Snippets Groups Projects
Commit a48fa3fc authored by Ted Bowman's avatar Ted Bowman
Browse files

Contrib: allow any version of core in build tests to allow gitlab core clone...

Contrib: allow any version of core in build tests to allow gitlab core clone tests - https://git.drupalcode.org/project/automatic_updates/-/commit/14e35c62afdc76ee9a79104a5b483918c00f3681
parent 59106db9
No related branches found
No related tags found
No related merge requests found
Pipeline #69623 failed
Pipeline: drupal-3411111

#69624

    ...@@ -270,6 +270,10 @@ protected function createTestProject(string $template): void { ...@@ -270,6 +270,10 @@ protected function createTestProject(string $template): void {
    // Allow pre-release versions of dependencies. // Allow pre-release versions of dependencies.
    $this->runComposer('composer config minimum-stability dev', $template_dir); $this->runComposer('composer config minimum-stability dev', $template_dir);
    // Allow any version of Drupal core as in test using a git clone on Gitlab
    // core will be checked out at a specific commit hash.
    $this->runComposer("composer require --no-update drupal/core:'*'", "composer/Metapackage/CoreRecommended");
    // Remove the packages.drupal.org entry (and any other custom repository) // Remove the packages.drupal.org entry (and any other custom repository)
    // from the template's repositories section. We have no reliable way of // from the template's repositories section. We have no reliable way of
    // knowing the repositories' names in advance, so we get that information // knowing the repositories' names in advance, so we get that information
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment