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

ci: test against WP 6.3 + PHP 8.1 #379

Merged
merged 1 commit into from
Sep 17, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setup PHP w/ Composer & WP-CLI
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
extensions: mbstring, intl, bcmath, exif, gd, mysqli, opcache, zip, pdo_mysql
tools: composer:v2, wp-cli
coverage: none
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
tools: composer:v2
coverage: none

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/integration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:

strategy:
matrix:
php: [ '8.0', '7.4' ]
wordpress: [ '6.2', '6.1', '6.0', '5.9' ]
php: [ '8.1', '8.0', '7.4' ]
wordpress: [ '6.3', '6.2', '6.1', '6.0', '5.9' ]
include:
- php: '8.1'
wordpress: '6.2'
wordpress: '6.3'
coverage: 1
# Older versions of WordPress
- php: '8.0'
Expand All @@ -39,6 +39,8 @@ jobs:
- php: '7.4'
wordpress: '5.7'
exclude:
- php: '7.4'
wordpress: '6.3'
- php: '7.4'
wordpress: '6.2'
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schema-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup PHP w/ Composer & WP-CLI
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
extensions: mbstring, intl, bcmath, exif, gd, mysqli, opcache, zip, pdo_mysql
coverage: none
tools: composer:v2, wp-cli
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- chore: Update Composer dev-deps.
- tests: Set `WPLoader.loadOnly` to true for acceptance suite. Thanks @lucatume!
- ci: Fix GitHub Action workflows by locking MariaDB version to v10.
- ci: Test against WordPress 6.3 and PHP 8.1

## v0.12.2

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Our hope for this open source project is that it will enable more teams to lever

## System Requirements

* PHP 7.4+ || 8.0
* PHP 7.4+
* WordPress 5.4.1+
* WPGraphQL 1.9.0+
* Gravity Forms 2.5+ (Recommend: v2.6+)
Expand Down
12 changes: 6 additions & 6 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.0 composer build-app"
echo " WP_VERSION=6.2 PHP_VERSION=8.0 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.0 bin/run-docker.sh build -a"
echo " WP_VERSION=6.2 PHP_VERSION=8.0 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,8 +29,8 @@ if [ $# -eq 0 ]; then
fi

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

BUILD_NO_CACHE=${BUILD_NO_CACHE-}

Expand Down
2 changes: 1 addition & 1 deletion 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-gravity-forms:latest-wp${WP_VERSION-6.2}-php${PHP_VERSION-8.0}
image: wp-graphql-gravity-forms:latest-wp${WP_VERSION-6.3}-php${PHP_VERSION-8.1}
volumes:
- .:/var/www/html/wp-content/plugins/wp-graphql-gravity-forms
- ./.log/app:/var/log/apache2
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: justlevine, kellenmace, mtdbyanechko, tinytoolbox
Tags: Forms, GraphQL, Gatsby, Headless, GF, Gravity, WPGraphQL, React
Requires at least: 5.4.1
Tested up to: 6.2.2
Tested up to: 6.3.1
Requires PHP: 7.4
Requires Gravity Forms: 2.5.0
Requires WPGraphQL: 1.9.0
Expand Down
2 changes: 1 addition & 1 deletion wp-graphql-gravity-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Text Domain: wp-graphql-gravity-forms
* Domain Path: /languages
* Requires at least: 5.4.1
* Tested up to: 6.2.2
* Tested up to: 6.3.1
* Requires PHP: 7.4
* WPGraphQL requires at least: 1.9.0
* GravityForms requires at least: 2.5.0
Expand Down
Loading