Skip to content

Commit

Permalink
chore: test against WP 6.3 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine authored Sep 21, 2023
1 parent a7f0c1c commit 41aed38
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
strategy:
matrix:
php: ["7.4", "8.0", "8.1"]
wordpress: ["6.2", "6.1", "6.0", "5.9"]
wordpress: ["6.3", "6.2", "6.1", "6.0", "5.9"]
include:
- php: "8.1"
wordpress: "6.2"
wordpress: "6.3"
coverage: 1
exclude:
- php: "7.4"
wordpress: "6.3"
- php: "7.4"
wordpress: "6.2"
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Tests for WordPress version compatibility.
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
-->
<config name="minimum_supported_wp_version" value="5.4.1"/>
<config name="minimum_wp_version" value="5.6"/>

<!-- Rules: WPGraphQL Coding Standards -->
<!-- https://github.com/AxeWP/WPGraphQL-Coding-Standards/WPGraphQL/ruleset.xml -->
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- chore: Update Composer dev-dependencies.
- chore: Update WPGraphQL Coding Standards to v2.0.0-beta and lint.
- ci: Test Plugin compatibility with WordPress 6.3.
- chore: fix minimum supported WordPress version to be 5.6, which is the minimum requirement for RankMath 1.0.90.

## v0.0.14
- fix: Fetch the correct SEO data when resolving custom taxonomy terms. Props @lucguerraz
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Adds WPGraphQL support for [Rank Math SEO](https://rankmath.com/). Built with [W

## System Requirements

* PHP 7.4+ | 8.0+ | 8.1+
* WordPress 5.4.1+
* PHP 7.4 - 8.1+
* WordPress 5.6+
* WPGraphQL 1.8.1+
* RankMath SEO 1.0.90+

Expand Down
10 changes: 5 additions & 5 deletions bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ print_usage_instructions() {
echo " composer build-app"
echo " composer run-app"
echo ""
echo " WP_VERSION=6.2 PHP_VERSION=8.1 composer build-app"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 composer run-app"
echo " WP_VERSION=6.3 PHP_VERSION=8.1 composer build-app"
echo " WP_VERSION=6.3 PHP_VERSION=8.1 composer run-app"
echo ""
echo " WP_VERSION=6.2 PHP_VERSION=8.1 bin/run-docker.sh build -a"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 bin/run-docker.sh run -a"
echo " WP_VERSION=6.3 PHP_VERSION=8.1 bin/run-docker.sh build -a"
echo " WP_VERSION=6.3 PHP_VERSION=8.1 bin/run-docker.sh run -a"
exit 1
}

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

TAG=${TAG-latest}
WP_VERSION=${WP_VERSION-6.2}
WP_VERSION=${WP_VERSION-6.3}
PHP_VERSION=${PHP_VERSION-8.1}

BUILD_NO_CACHE=${BUILD_NO_CACHE-}
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
app:
depends_on:
- app_db
image: wp-graphql-rankmath:latest-wp${WP_VERSION-5.9}-php${PHP_VERSION-8.0}
image: wp-graphql-rankmath:latest-wp${WP_VERSION-6.3}-php${PHP_VERSION-8.1}
volumes:
- '.:/var/www/html/wp-content/plugins/wp-graphql-rank-math'
- './.log/app:/var/log/apache2'
Expand Down Expand Up @@ -34,7 +34,7 @@ services:
testing:
depends_on:
- app_db
image: wp-graphql-rankmath-testing:latest-wp${WP_VERSION-5.9}-php${PHP_VERSION-8.0}
image: wp-graphql-rankmath-testing:latest-wp${WP_VERSION-6.3}-php${PHP_VERSION-8.1}
volumes:
- '.:/var/www/html/wp-content/plugins/wp-graphql-rank-math'
- './.log/testing:/var/log/apache2'
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== WPGraphQL for Rank Math ===
Contributors: axepress, justlevine
Tags: GraphQL, Gatsby, Headless, WPGraphQL, React, Rest, RankMath, Seo, Schema
Requires at least: 5.4.1
Tested up to: 6.2.2
Requires at least: 5.6
Tested up to: 6.3.1
Requires PHP: 7.4
Requires WPGraphQL: 1.8.1
Stable tag: 0.0.14
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'axepress/wp-graphql-rank-math',
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => '55afee4d6df84c8e612a27fc7d93787411f9d0e2',
'reference' => 'a7f0c1c0c232ba9d1e6908d84d6b1f9e5b181c5e',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'axepress/wp-graphql-rank-math' => array(
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => '55afee4d6df84c8e612a27fc7d93787411f9d0e2',
'reference' => 'a7f0c1c0c232ba9d1e6908d84d6b1f9e5b181c5e',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
4 changes: 2 additions & 2 deletions wp-graphql-rank-math.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Version: 0.0.14
* Text Domain: wp-graphql-rank-math
* Domain Path: /languages
* Requires at least: 5.4.1
* Tested up to: 6.2.2
* Requires at least: 5.6
* Tested up to: 6.3.1
* Requires PHP: 7.4
* WPGraphQL requires at least: 1.8.1
* License: GPL-3
Expand Down

0 comments on commit 41aed38

Please sign in to comment.