Skip to content

Commit

Permalink
Merge pull request #251 from markkelnar/ci/add-wp-6.3
Browse files Browse the repository at this point in the history
ci: Add WP 6.3 to test matrix. Update docs to reflect
  • Loading branch information
markkelnar authored Sep 6, 2023
2 parents b86e979 + bec08c3 commit 11ba818
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 75 deletions.
4 changes: 2 additions & 2 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ MYSQL_USER=${DB_USER}
MYSQL_PASSWORD=${DB_PASSWORD}

# docker container env vars
WP_VERSION=6.1
PHP_VERSION=8.1
WP_VERSION=6.3
PHP_VERSION=8.2
WPGRAPHQL_VERSION=latest
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wp-graphql-smart-cache/tests/_data
4 changes: 2 additions & 2 deletions .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MYSQL_USER=${DB_USER}
MYSQL_PASSWORD=${DB_PASSWORD}

# docker container env vars
WP_VERSION=6.1
PHP_VERSION=8.1
WP_VERSION=6.3
PHP_VERSION=8.2
WPGRAPHQL_VERSION=latest
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wp-graphql-smart-cache/tests/_data
8 changes: 6 additions & 2 deletions .github/workflows/tests-wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.0' ]
wordpress: [ '6.2', '6.1' ]
php: [ '8.2', '8.1' ]
wordpress: [ '6.3', '6.2', '6.1' ]
wpgraphql_version: [ 'latest' ]
include:
# WordPress isn't pushing php 8.2 and WP 5.9 to Docker
# so we include WP 5.9 manually instead of in the matrix
- php: '8.1'
wordpress: '5.9'
- php: '8.0'
wordpress: '6.2'
- php: '8.0'
wordpress: '6.1'
- php: '7.4'
wordpress: '5.9'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.2
tools: composer
- name: Install PHP dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wordpress-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Check code
strategy:
matrix:
php: [ 8.0 ]
php: [ 8.2 ]

steps:
- name: Checkout
Expand Down
57 changes: 28 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11ba818

Please sign in to comment.