Avoid showing the clash warning when the clash comes from the same user. #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@trunk | |
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.7-RC1' | |
- '6.6' | |
- '6.5' | |
php: | |
# Most recent version of PHP supported by all of the above, plus 7.4 | |
- '8.3' | |
- '7.4' | |
include: | |
# Latest WordPress on PHP 8.4 | |
- wp: '6.7-RC1' | |
php: '8.4' | |
# Oldest supported WordPress | |
- wp: '5.9' | |
php: '7.4' | |
fail-fast: false | |
with: | |
node: false | |
php: ${{ matrix.php }} | |
wp: ${{ matrix.wp }} |