Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Drupal 11 support #65

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:drupal@127.0.0.1/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
Loading