Skip to content

Commit 6e704a8

Browse files
authored
Merge pull request #103 from justlevine/ci/wp-6.6
ci: test compatibility with WP 6.6.1
2 parents 9fd2f1c + d412986 commit 6e704a8

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

.github/workflows/integration-testing.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,18 @@ jobs:
2929
strategy:
3030
matrix:
3131
php: ["8.2", "8.1", "8.0"]
32-
wordpress: ["6.5", "6.4", "6.3", "6.2", "6.1", "6.0" ]
32+
wordpress: ["6.6", "6.5", "6.4", "6.3" ]
3333
include:
3434
- php: "8.2"
35-
wordpress: "6.5"
35+
wordpress: "6.6"
3636
coverage: 1
37-
# Test old versions against PHP 8.0
38-
- php: "7.4"
39-
wordpress: "6.1"
40-
- php: "7.4"
41-
wordpress: "6.0"
4237
exclude:
4338
# Old WP versions that dont support newer PHP versions
44-
- php: "8.2"
45-
wordpress: "6.0"
39+
# - php: "8.2"
40+
# wordpress: "6.0"
4641
# New WP versions that dont support older PHP versions
42+
- php: "8.0"
43+
wordpress: "6.6"
4744
- php: "8.0"
4845
wordpress: "6.5"
4946
fail-fast: false

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased]
44

5+
- ci: test plugin compatibility with WordPress 6.6.1.
6+
- ci: replace uses of deprecated `docker-compose` with `docker compose`.
7+
58
## [0.3.0]
69

710
This _major_ releases simplifies the GraphQL schema by narrowing the `seo` field types to their implementations. We've also bumped the minimum version of WPGraphQL to v1.26.0 and refactored the `RedirectionConnectionResolver` to use the improved lifecycle methods introduced in that release.

bin/run-docker.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ print_usage_instructions() {
1616
echo " composer build-app"
1717
echo " composer run-app"
1818
echo ""
19-
echo " WP_VERSION=6.5 PHP_VERSION=8.2 composer build-app"
20-
echo " WP_VERSION=6.5 PHP_VERSION=8.2 composer run-app"
19+
echo " WP_VERSION=6.6 PHP_VERSION=8.2 composer build-app"
20+
echo " WP_VERSION=6.6 PHP_VERSION=8.2 composer run-app"
2121
echo ""
22-
echo " WP_VERSION=6.5 PHP_VERSION=8.2 bin/run-docker.sh build -a"
23-
echo " WP_VERSION=6.5 PHP_VERSION=8.2 bin/run-docker.sh run -a"
22+
echo " WP_VERSION=6.6 PHP_VERSION=8.2 bin/run-docker.sh build -a"
23+
echo " WP_VERSION=6.6 PHP_VERSION=8.2 bin/run-docker.sh run -a"
2424
exit 1
2525
}
2626

@@ -29,7 +29,7 @@ if [ $# -eq 0 ]; then
2929
fi
3030

3131
TAG=${TAG-latest}
32-
WP_VERSION=${WP_VERSION-6.5}
32+
WP_VERSION=${WP_VERSION-6.6}
3333
PHP_VERSION=${PHP_VERSION-8.2}
3434

3535
BUILD_NO_CACHE=${BUILD_NO_CACHE-}
@@ -83,7 +83,7 @@ case "$subcommand" in
8383
WP_VERSION=${WP_VERSION} PHP_VERSION=${PHP_VERSION} docker compose up app
8484
;;
8585
t)
86-
docker-compose run --rm \
86+
docker compose run --rm \
8787
-e COVERAGE=${COVERAGE-} \
8888
-e USING_XDEBUG=${USING_XDEBUG-} \
8989
-e DEBUG=${DEBUG-} \

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"install-stan-env": "bash bin/install-stan-env.sh",
101101
"docker-build": "bash bin/run-docker.sh build",
102102
"docker-run": "bash bin/run-docker.sh run",
103-
"docker-destroy": "docker-compose down",
103+
"docker-destroy": "docker compose down",
104104
"build-and-run": [
105105
"@docker-build",
106106
"@docker-run"

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: axepress, justlevine
33
Tags: GraphQL, Gatsby, Headless, WPGraphQL, React, Rest, RankMath, Seo, Schema
44
Requires at least: 6.0
5-
Tested up to: 6.5.0
5+
Tested up to: 6.6.1
66
Requires PHP: 7.4
77
Requires Plugins: wp-graphql, seo-by-rank-math
88
Requires WPGraphQL: 1.26.0

wp-graphql-rank-math.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Text Domain: wp-graphql-rank-math
1212
* Domain Path: /languages
1313
* Requires at least: 6.0
14-
* Tested up to: 6.5.0
14+
* Tested up to: 6.6.1
1515
* Requires PHP: 7.4
1616
* Requires Plugins: wp-graphql, seo-by-rank-math
1717
* WPGraphQL requires at least: 1.26.0

0 commit comments

Comments
 (0)