Skip to content

Commit

Permalink
Updated to Drupal 11 alpha. (#638)
Browse files Browse the repository at this point in the history
* Updated to Drupal 11.

* Updated CI to support Drupal 11.
  • Loading branch information
AlexSkrypnyk authored May 8, 2024
1 parent a6d9327 commit 930b06d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
drupal-release: ['stable']
php-versions: ['8.3']
drupal-release: ['alpha']
composer-channel: ['stable']
include:
- php-versions: '8.1'
- php-versions: '8.3'
drupal-release: dev
composer-channel: stable
- php-versions: '8.1'
drupal-release: stable
- php-versions: '8.3'
drupal-release: alpha
composer-channel: snapshot
steps:
- name: Dump matrix context
Expand Down Expand Up @@ -62,11 +62,6 @@ jobs:

- run: until curl -s $SIMPLETEST_BASE_URL; do true; done > /dev/null

# https://www.drupal.org/project/drupal/issues/3182653
# https://www.drupal.org/node/3176567
- if: ${{ matrix.php-versions == '8.1' }}
run: composer require phpspec/prophecy-phpunit:^2

- name: Run a single unit test to verify the testing setup.
run: ./vendor/bin/phpunit -c ./web/core ./web/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"php": ">=8.1",
"composer/installers": "^2.1",
"cweagans/composer-patches": "^1.7",
"drupal/core-composer-scaffold": "^10.2.0",
"drupal/core-recommended": "^10.2.0",
"drupal/core-composer-scaffold": "^11@alpha",
"drupal/core-recommended": "^11@alpha",
"drush/drush": "^12.4.3",
"vlucas/phpdotenv": "^5.1",
"webflo/drupal-finder": "^1.2"
},
"require-dev": {
"drupal/core-dev": "^10.2.0"
"drupal/core-dev": "^11@alpha"
},
"conflict": {
"drupal/drupal": "*"
Expand Down

0 comments on commit 930b06d

Please sign in to comment.