Skip to content

Test with szepeviktor/johnbillion_plugin-infrastructure@patch-3 #120

Test with szepeviktor/johnbillion_plugin-infrastructure@patch-3

Test with szepeviktor/johnbillion_plugin-infrastructure@patch-3 #120

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Integration Tests
on:
push:
branches:
- 'develop'
- 'trunk'
paths:
- '.github/workflows/integration-tests.yml'
- 'tests/**'
- '**.php'
- 'codeception.dist.yml'
- 'composer.json'
- 'docker-compose.yml'
- 'package.json'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/integration-tests.yml'
- 'tests/**'
- '**.php'
- 'codeception.dist.yml'
- 'composer.json'
- 'docker-compose.yml'
- 'package.json'
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: WP ${{ matrix.wp }} / PHP ${{ matrix.php }}
uses: szepeviktor/johnbillion_plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@47232ad4154462c9b072a20cb56abf49106d5fd8
strategy:
# See the following for PHP compatibility of WordPress versions:
# https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
matrix:
wp:
# Three most recent versions of WordPress
- '6.6'
- '6.5'
- '6.4'
php:
# Most recent version of PHP supported by the above, plus 7.4
- '8.2'
- '7.4'
include:
# Latest WordPress on PHP 8.3
- wp: '6.6'
php: '8.3'
# Oldest supported WordPress
- wp: '5.8'
php: '7.4'
fail-fast: false
with:
node: false
php: ${{ matrix.php }}
wp: ${{ matrix.wp }}