Add a 'Switch back to {user}' link to access denied messages within the admin area #82
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/**' | |
- '**.php' | |
- 'codeception.dist.yml' | |
- 'composer.json' | |
- 'docker-compose.yml' | |
- 'package.json' | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- '.github/workflows/acceptance-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 }} | |
strategy: | |
matrix: | |
wp: | |
# Three most recent versions of WordPress | |
- '6.5' | |
- '6.4' | |
- '6.3' | |
php: | |
- '8.2' | |
- '7.4' | |
include: | |
# Latest WordPress on PHP 8.3 | |
- wp: '6.5' | |
php: '8.3' | |
# Oldest supported WordPress | |
- wp: '5.8' | |
php: '7.4' | |
fail-fast: false | |
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk | |
with: | |
wp: ${{ matrix.wp }} | |
php: ${{ matrix.php }} | |
node: false |