Skip to content

Commit

Permalink
Test Drupal 10 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Mar 21, 2023
1 parent f9cffc4 commit fdf7961
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
drupal-version:
- "8"
- "9"
- "10"
drush-version:
- "9"
- "10"
Expand All @@ -30,6 +31,10 @@ jobs:
drupal-version: 9
- drush-version: 9
drupal-version: 9
- drush-version: 9
drupal-version: 10
- drush-version: 10
drupal-version: 10
- drush-version: 11
php-version: 7.3
- drush-version: 11
Expand All @@ -40,6 +45,14 @@ jobs:
php-version: 8.0
- drupal-version: 8
php-version: 8.1
- drupal-version: 10
php-version: 7.2
- drupal-version: 10
php-version: 7.3
- drupal-version: 10
php-version: 7.4
- drupal-version: 10
php-version: 8.0
steps:
- name: Dump matrix context
env:
Expand Down Expand Up @@ -71,6 +84,10 @@ jobs:
if: ${{ matrix.drupal-version == '9' }}
run: |
cd .. && composer create-project --no-plugins drupal/recommended-project:9.4.1 test-project --no-interaction
- 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
- name: install Drush
run: |
cd ../test-project
Expand Down
72 changes: 72 additions & 0 deletions tests/assets/test-schema.json-excluded10
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"type": "schema",
"module": "block",
"value": "8003"
},
{
"type": "schema",
"module": "dynamic_page_cache",
"value": "8000"
},
{
"type": "schema",
"module": "field",
"value": "8500"
},
{
"type": "schema",
"module": "filter",
"value": "8000"
},
{
"type": "schema",
"module": "minimal",
"value": "8000"
},
{
"type": "schema",
"module": "node",
"value": "8700"
},
{
"type": "schema",
"module": "page_cache",
"value": "8000"
},
{
"type": "schema",
"module": "path_alias",
"value": "8000"
},
{
"type": "schema",
"module": "sqlite",
"value": "8000"
},
{
"type": "schema",
"module": "system",
"value": "8901"
},
{
"type": "schema",
"module": "text",
"value": "8000"
},
{
"type": "schema",
"module": "update",
"value": "8001"
},
{
"type": "schema",
"module": "user",
"value": "10000"
},
{
"type": "post_update",
"module": "",
"value": "user_post_update_sort_permissions"
}
]
77 changes: 77 additions & 0 deletions tests/assets/test-schema.json10
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[
{
"type": "schema",
"module": "block",
"value": "8003"
},
{
"type": "schema",
"module": "dblog",
"value": "8600"
},
{
"type": "schema",
"module": "dynamic_page_cache",
"value": "8000"
},
{
"type": "schema",
"module": "field",
"value": "8500"
},
{
"type": "schema",
"module": "filter",
"value": "8000"
},
{
"type": "schema",
"module": "minimal",
"value": "8000"
},
{
"type": "schema",
"module": "node",
"value": "8700"
},
{
"type": "schema",
"module": "page_cache",
"value": "8000"
},
{
"type": "schema",
"module": "path_alias",
"value": "8000"
},
{
"type": "schema",
"module": "sqlite",
"value": "8000"
},
{
"type": "schema",
"module": "system",
"value": "8901"
},
{
"type": "schema",
"module": "text",
"value": "8000"
},
{
"type": "schema",
"module": "update",
"value": "8001"
},
{
"type": "schema",
"module": "user",
"value": "10000"
},
{
"type": "post_update",
"module": "",
"value": "user_post_update_sort_permissions"
}
]

0 comments on commit fdf7961

Please sign in to comment.