Skip to content

Commit d10bb2a

Browse files
committed
add official stable support for drupal 10.3 & 10.4
1 parent e734ee2 commit d10bb2a

File tree

5 files changed

+20
-23
lines changed

5 files changed

+20
-23
lines changed

.github/workflows/ci.yml

+7-15
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
drupal_version: ['9.5', '10.0', '10.1', '10.2']
14+
drupal_version: ['10.3', '10.4']
1515
module: ['editor_advanced_image']
1616
experimental: [ false ]
1717
include:
18-
- drupal_version: '10.3'
19-
module: 'editor_advanced_image'
20-
experimental: true
21-
- drupal_version: '10.4'
22-
module: 'editor_advanced_image'
23-
experimental: true
2418
- drupal_version: '10.5'
2519
module: 'editor_advanced_image'
2620
experimental: true
@@ -36,6 +30,10 @@ jobs:
3630
run: docker compose exec -T drupal wait-for-it drupal:80 -t 60
3731
- name: wait on Docker to be ready, especially MariaDB that takes many seconds to be up
3832
run: docker compose exec -T drupal wait-for-it db:3306 -t 60
33+
- name: Bootstrap Drupal
34+
run: docker compose -f docker-compose.yml exec -T -u www-data drupal drush site-install standard --db-url="mysql://drupal:drupal@db/drupal" -y
35+
- name: Enable CKEditor 4
36+
run: docker compose exec -T drupal wait-for-it db:3306 -- ./vendor/bin/drush en ckeditor -y
3937
- name: Run unit tests
4038
run: docker compose -f docker-compose.yml exec -T -u www-data drupal phpunit --testdox --no-coverage --group=${{ matrix.module }} --exclude-group=${{ matrix.module }}_functional --configuration=/var/www/html/phpunit.xml
4139
continue-on-error: ${{ matrix.experimental }}
@@ -46,16 +44,10 @@ jobs:
4644

4745
strategy:
4846
matrix:
49-
drupal_version: ['9.5', '10.0', '10.1', '10.2']
47+
drupal_version: ['10.3', '10.4']
5048
module: ['editor_advanced_image']
5149
experimental: [ false ]
5250
include:
53-
- drupal_version: '10.3'
54-
module: 'editor_advanced_image'
55-
experimental: true
56-
- drupal_version: '10.4'
57-
module: 'editor_advanced_image'
58-
experimental: true
5951
- drupal_version: '10.5'
6052
module: 'editor_advanced_image'
6153
experimental: true
@@ -85,7 +77,7 @@ jobs:
8577

8678
strategy:
8779
matrix:
88-
drupal_version: ['9.5']
80+
drupal_version: ['10.3']
8981
module: ['editor_advanced_image']
9082
experimental: [ true ]
9183

.gitlab-ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ include:
3030
################
3131
variables:
3232
# The 2.x branch of the module should run on 9.5 to maximum 10.2 but not upper.
33-
CORE_PREVIOUS_STABLE: '10.0'
34-
CORE_STABLE: '10.1'
35-
CORE_NEXT_MINOR: '10.2'
36-
CORE_SECURITY_PREVIOUS_MINOR: '10.1'
33+
CORE_PREVIOUS_STABLE: '10.3'
34+
CORE_STABLE: '10.4'
35+
CORE_NEXT_MINOR: '10.5'
36+
CORE_SECURITY_PREVIOUS_MINOR: '10.3'
3737
# The 2.x branch of the module requires PHP >=8.1, rather than core's >=7.4.
3838
CORE_PREVIOUS_PHP_MIN: '8.1'
3939
CORE_PHP_MAX: '8.2'
@@ -46,8 +46,8 @@ variables:
4646
OPT_IN_TEST_PREVIOUS_MINOR: '1'
4747
# Opt-in to testing previous Major (Drupal 9.5.x).
4848
OPT_IN_TEST_PREVIOUS_MAJOR: '1'
49-
# Opt-int of testing next Minor (Drupal 10.x).
50-
OPT_IN_TEST_NEXT_MINOR: '1'
49+
# Opt-int of testing next Minor (Drupal 10.5).
50+
OPT_IN_TEST_NEXT_MINOR: '0'
5151
# Opt-out of testing next Major (Drupal 11.x).
5252
OPT_IN_TEST_NEXT_MAJOR: '0'
5353

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Added
99
- fix support from 9.5.x to 10.2 maximum
10+
- add official stable support for drupal 10.3
11+
- add official stable support for drupal 10.4
1012

1113
### Removed
1214
- remove legacy version annotation on docker-compose.yml

editor_advanced_image.info.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: 'Editor Advanced Image'
22
type: module
33
description: 'Enhances the inline-image Dialog in D8 CKEditor.'
4-
core_version_requirement: ^9.5 || ^10
4+
core_version_requirement: ^9.5 || ^10.3
55
package: CKEditor
66

77
dependencies:
88
- drupal:editor
9+
10+
test_dependencies:
11+
- drupal:ckeditor

tests/src/Kernel/CKEditor4To5Upgrade/UpgradePathTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected function setUp(): void {
135135
/**
136136
* {@inheritdoc}
137137
*/
138-
public function provider() {
138+
public static function provider() {
139139
$expected_ckeditor5_toolbar = [
140140
'items' => [
141141
'bold',

0 commit comments

Comments
 (0)