Skip to content

Commit

Permalink
Add Drupal 11 support (#65)
Browse files Browse the repository at this point in the history
* Add Drupal 11 support
* Update build-2.x.yml
* verbose no longer support in phpunit
  • Loading branch information
joecorall authored Oct 28, 2024
1 parent 45d51ce commit c553340
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
fail-fast: false
matrix:
php-versions: ["8.1", "8.2", "8.3"]
drupal-version: ["10.2.x", "10.3.x", "10.4.x-dev"]
drupal-version: ["10.2.x", "10.3.x", "10.4.x-dev", "11.0.x"]
allowed_failure: [false]
mysql: ["8.0"]
exclude:
- drupal-version: "11.0.x"
php-versions: "8.1"
- drupal-version: "11.0.x"
php-versions: "8.2"

name: PHP ${{ matrix.php-versions }} | drupal ${{ matrix.drupal-version }} | mysql ${{ matrix.mysql }}
env:
Expand Down Expand Up @@ -124,4 +129,4 @@ jobs:
SIMPLETEST_DB: mysql://drupal:[email protected]/drupal
BROWSERTEST_OUTPUT_DIRECTORY: /opt/drupal/web/sites/simpletest/browser_output
run: |
$DRUPAL_DIR/vendor/bin/phpunit "--bootstrap=$DRUPAL_WEB_ROOT/core/tests/bootstrap.php" --group $DRUPAL_EXTENSION_NAME --verbose "$GITHUB_WORKSPACE"
$DRUPAL_DIR/vendor/bin/phpunit "--bootstrap=$DRUPAL_WEB_ROOT/core/tests/bootstrap.php" --group $DRUPAL_EXTENSION_NAME "$GITHUB_WORKSPACE"
2 changes: 1 addition & 1 deletion openseadragon.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'OpenSeadragon Viewer'
type: module
description: 'A light-weight, customizable OpenSeadragon field formatter'
package: Media
core_version_requirement: ^9.1 || ^10
core_version_requirement: ^9.1 || ^10 || ^11
dependencies:
- token:token
configure: openseadragon.admin_settings
2 changes: 1 addition & 1 deletion tests/src/Kernel/ConfigTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ConfigTests extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'system',
'openseadragon',
];
Expand Down

0 comments on commit c553340

Please sign in to comment.