From 219807ae491fd5520e607748dbf520d8f8e3d287 Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Sun, 29 Dec 2024 12:21:17 +0100 Subject: [PATCH] Test Drupal 10 with version 10.2.12 (#22) * Test Drupal 10 with version 10.2.12 * Update test-schema.json10 * Update test-schema.json-excluded10 * Update test.yml --- .github/workflows/test.yml | 4 +- tests/assets/test-schema.json-excluded10 | 77 +++++++++++++++++++++- tests/assets/test-schema.json10 | 82 ++++++++++++++++++++++-- 3 files changed, 157 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf5b2d8..f7f81c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,8 @@ jobs: php-version: 8.0 - drush-version: 12 drupal-version: 9 + - drush-version: 11 + drupal-version: 10 steps: - name: Dump matrix context env: @@ -65,7 +67,7 @@ jobs: - name: install drupal if: ${{ matrix.drupal-version == '10' }} run: | - cd .. && composer create-project --no-plugins drupal/recommended-project:10.0.5 test-project --no-interaction + cd .. && composer create-project --no-plugins drupal/recommended-project:10.2.12 test-project --no-interaction - name: install Drush run: | cd ../test-project diff --git a/tests/assets/test-schema.json-excluded10 b/tests/assets/test-schema.json-excluded10 index 01250dc..1b74e16 100644 --- a/tests/assets/test-schema.json-excluded10 +++ b/tests/assets/test-schema.json-excluded10 @@ -47,7 +47,7 @@ { "type": "schema", "module": "system", - "value": "8901" + "value": "10201" }, { "type": "schema", @@ -64,9 +64,84 @@ "module": "user", "value": "10000" }, + { + "type": "post_update", + "module": "", + "value": "filter_post_update_sort_filters" + }, + { + "type": "post_update", + "module": "", + "value": "path_alias_post_update_drop_path_alias_status_index" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_add_description_to_entity_form_mode" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_add_description_to_entity_view_mode" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_enable_password_compatibility" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_linkset_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_mailer_dsn_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_mailer_structured_dsn_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_remove_asset_entries" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_remove_asset_query_string" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_set_blank_log_url_to_null" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_timestamp_formatter" + }, + { + "type": "post_update", + "module": "", + "value": "text_post_update_allowed_formats" + }, + { + "type": "post_update", + "module": "", + "value": "update_post_update_set_blank_fetch_url_to_null" + }, { "type": "post_update", "module": "", "value": "user_post_update_sort_permissions" + }, + { + "type": "post_update", + "module": "", + "value": "user_post_update_sort_permissions_again" } ] diff --git a/tests/assets/test-schema.json10 b/tests/assets/test-schema.json10 index 2f4713e..1531446 100644 --- a/tests/assets/test-schema.json10 +++ b/tests/assets/test-schema.json10 @@ -7,7 +7,7 @@ { "type": "schema", "module": "dblog", - "value": "8600" + "value": "10101" }, { "type": "schema", @@ -39,8 +39,7 @@ "module": "page_cache", "value": "8000" }, - { - "type": "schema", + { "type": "schema", "module": "path_alias", "value": "8000" }, @@ -52,7 +51,7 @@ { "type": "schema", "module": "system", - "value": "8901" + "value": "10201" }, { "type": "schema", @@ -69,9 +68,84 @@ "module": "user", "value": "10000" }, + { + "type": "post_update", + "module": "", + "value": "filter_post_update_sort_filters" + }, + { + "type": "post_update", + "module": "", + "value": "path_alias_post_update_drop_path_alias_status_index" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_add_description_to_entity_form_mode" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_add_description_to_entity_view_mode" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_enable_password_compatibility" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_linkset_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_mailer_dsn_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_mailer_structured_dsn_settings" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_remove_asset_entries" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_remove_asset_query_string" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_set_blank_log_url_to_null" + }, + { + "type": "post_update", + "module": "", + "value": "system_post_update_timestamp_formatter" + }, + { + "type": "post_update", + "module": "", + "value": "text_post_update_allowed_formats" + }, + { + "type": "post_update", + "module": "", + "value": "update_post_update_set_blank_fetch_url_to_null" + }, { "type": "post_update", "module": "", "value": "user_post_update_sort_permissions" + }, + { + "type": "post_update", + "module": "", + "value": "user_post_update_sort_permissions_again" } ]