CI installs wrong Drupal version
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3458238. -->
Reported by: [chi](https://www.drupal.org/user/556138)
Related to !236 !243
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>That apparently happens when a module declare drupal/core dependency in composer.json file.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p><a href="https://git.drupalcode.org/project/date_point/-/jobs/2000079">https://git.drupalcode.org/project/date_point/-/jobs/2000079</a></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>I would prefer to configure Drupal versions to test in composer.json instead of CI variables.</p>
<p>For example, if a module depends on <code>drupal/core: ^10.2.3</code></p>
<p>The CI <a href="https://semver.madewithlove.com/?package=drupal%2Fcore&constraint=%5E10.2.3">should test it</a>using Drupal 10.3.0 and optionally using Drupal 10.2.3.</p>
issue