Skip to content

Commit 056d8ff

Browse files
JohnAlbinmglaman
andauthored
ci(next): add Drupal 10.2 to CI test matrix
Fixes #542 Co-authored-by: Matt Glaman <matt.glaman@acquia.com>
1 parent 3561226 commit 056d8ff

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/next.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,19 @@ jobs:
1313
strategy:
1414
matrix:
1515
# Supported PHP versions: https://www.drupal.org/docs/getting-started/system-requirements/php-requirements
16-
php: ["8.1", "8.2", "8.3"]
16+
php:
17+
- "8.1"
18+
- "8.2"
19+
- "8.3"
1720
# Supported Drupal versions: https://www.drupal.org/project/drupal
18-
drupal: ["10.0", "10.1"]
21+
drupal:
22+
- "10.0.x"
23+
- "10.1.x"
24+
- "10.2.x@RC"
1925
exclude:
20-
- drupal: "10.0"
26+
- drupal: "10.0.x"
2127
php: "8.3"
22-
- drupal: "10.1"
28+
- drupal: "10.1.x"
2329
php: "8.3"
2430
name: Drupal ${{ matrix.drupal }} - PHP ${{ matrix.php }}
2531
services:
@@ -53,7 +59,7 @@ jobs:
5359
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5460
- name: Setup Drupal
5561
run: |
56-
COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }}.x ~/drupal --no-interaction --no-install
62+
COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }} ~/drupal --no-interaction --no-install
5763
cd ~/drupal
5864
composer config extra.enable-patching true
5965
composer config extra.compile-mode all

modules/next/modules/next_jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ class EntityResourceTest extends KernelTestBase {
2424
* {@inheritdoc}
2525
*/
2626
protected static $modules = [
27+
'field',
28+
'file',
2729
'filter',
30+
'jsonapi',
2831
'next',
2932
'node',
30-
'field',
31-
'system',
32-
'user',
33-
'jsonapi',
3433
'path',
3534
'serialization',
35+
'system',
36+
'user',
3637
];
3738

3839
/**

0 commit comments

Comments
 (0)