Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try running the Drush 10 test suite with Drupal 9. #4232

Merged
merged 12 commits into from
Oct 26, 2019

Conversation

greg-1-anderson
Copy link
Member

No description provided.

steps:
- checkout
- run: cp .docker/zz-php.ini /usr/local/etc/php/conf.d/
- run: composer remove --dev webflo/drupal-core-strict --no-update
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can convert to drupal/core-recommended and drupal/dev-dependencies now, but let's do that as follow-on work.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we convert, we won't have to just remove here.

@@ -126,6 +151,8 @@ workflows:
- check_mergable
- test_71_mysql:
<<: *requires
- test_72_drupal88:
<<: *requires
- test_72_highest:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could rename this "drupal90" if desired.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it downloads Druapl 9, that rename seems wise.

// TODO: re-enable this test once the Drupal Code Generator is
// compatible with Drupal 9.
if (version_compare('9.0.0', \Drupal::VERSION, '>=')) {
$this->markTestSkipped('Drupal Code Generator not working on Drupal 9 yet.');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Chi-teck Could you update DCG to add core_version_requirement to generated module info.yml files please?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in 1.30.5.

// TODO: re-enable this test once the pm:security command is
// compatible with Drupal 9.
if (version_compare('9.0.0', \Drupal::VERSION, '>=')) {
$this->markTestSkipped('pm:security not working on Drupal 9 yet.');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure why pm:security is failing, but it might have something to do with lack of data for 9.x right now. I didn't look into it -- I figured it was better to just skip this test for now and circle back here later.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lack of 9.x update data blocks updating of https://github.com/drupal-composer/drupal-security-advisories upon which that command depends.

composer.lock Outdated
@@ -2517,16 +2516,16 @@
},
{
"name": "behat/mink-selenium2-driver",
"version": "1.3.x-dev",
"version": "dev-master",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kinda surprised that is needed. Whats causing this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I accidentally committed the wrong lock file. Pushed another commit that fixes it.

@greg-1-anderson greg-1-anderson merged commit ef8e588 into master Oct 26, 2019
@greg-1-anderson greg-1-anderson deleted the drush-10-drupal-9 branch October 26, 2019 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants