Skip to content

Commit

Permalink
ci(next): add Drupal 10.2 to CI test matrix
Browse files Browse the repository at this point in the history
Fixes #542

Co-authored-by: Matt Glaman <[email protected]>
  • Loading branch information
JohnAlbin and mglaman authored Dec 14, 2023
1 parent 3561226 commit 056d8ff
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
strategy:
matrix:
# Supported PHP versions: https://www.drupal.org/docs/getting-started/system-requirements/php-requirements
php: ["8.1", "8.2", "8.3"]
php:
- "8.1"
- "8.2"
- "8.3"
# Supported Drupal versions: https://www.drupal.org/project/drupal
drupal: ["10.0", "10.1"]
drupal:
- "10.0.x"
- "10.1.x"
- "10.2.x@RC"
exclude:
- drupal: "10.0"
- drupal: "10.0.x"
php: "8.3"
- drupal: "10.1"
- drupal: "10.1.x"
php: "8.3"
name: Drupal ${{ matrix.drupal }} - PHP ${{ matrix.php }}
services:
Expand Down Expand Up @@ -53,7 +59,7 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Setup Drupal
run: |
COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }}.x ~/drupal --no-interaction --no-install
COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }} ~/drupal --no-interaction --no-install
cd ~/drupal
composer config extra.enable-patching true
composer config extra.compile-mode all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ class EntityResourceTest extends KernelTestBase {
* {@inheritdoc}
*/
protected static $modules = [
'field',
'file',
'filter',
'jsonapi',
'next',
'node',
'field',
'system',
'user',
'jsonapi',
'path',
'serialization',
'system',
'user',
];

/**
Expand Down

0 comments on commit 056d8ff

Please sign in to comment.