Test with johnbillion/plugin-infrastructure@actions-timeline #347
Workflow file for this run
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: Acceptance Tests | |
on: | |
push: | |
branches: | |
- 'develop' | |
- 'trunk' | |
paths: | |
- '.github/workflows/acceptance-tests.yml' | |
- 'tests/**' | |
- '**.css' | |
- '**.js' | |
- '**.php' | |
- 'codeception.dist.yml' | |
- 'composer.json' | |
- 'docker-compose.yml' | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- '.github/workflows/acceptance-tests.yml' | |
- 'tests/**' | |
- '**.css' | |
- '**.js' | |
- '**.php' | |
- 'codeception.dist.yml' | |
- 'composer.json' | |
- 'docker-compose.yml' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: WP ${{ matrix.wp }} | |
strategy: | |
# See the following for PHP compatibility of WordPress versions: | |
# https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/ | |
matrix: | |
wp: | |
# Latest three stable: | |
- '6.7' | |
- '6.6' | |
- '6.5' | |
php: | |
- '8.3' | |
- '7.4' | |
include: | |
# Latest stable on PHP 8.4: | |
- wp: '6.7' | |
php: '8.4' | |
# Oldest supported on PHP 7.4: | |
- wp: '5.9' | |
php: '7.4' | |
fail-fast: false | |
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@050ee806132b2b5fc7650ec55eef9de63d5b848e | |
with: | |
node: false | |
php: ${{ matrix.php }} | |
wp: ${{ matrix.wp }} |