Compatibility with WP 6.4 #11
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
name: Test / E2E Runner & Jest & PHP Unit runner for WordPress Next version. | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
# Check if WP Next is released | |
check_date: | |
uses: ./.github/workflows/date-checker.yml | |
with: | |
# WP 6.4 schedueld release date. | |
cutoff_date: "2023-11-7" | |
# Create WP NEXT Version Constant | |
set_constant: | |
needs: check_date | |
runs-on: ubuntu-latest | |
outputs: | |
# WP 6.4 RC1 zip. | |
wp_next: "https://wordpress.org/wordpress-6.4-RC1.zip" | |
steps: | |
- run: echo "Setting WP Next Constant" | |
# E2E Testing | |
chrome_e2e_wp_next: | |
needs: set_constant | |
name: Chrome with defaults | |
uses: ./.github/workflows/test-e2e-cypress.yml | |
with: | |
wpVersion: ${{needs.set_constant.outputs.wp_next}} | |
installPath: "tests-wordpress-6.4-RC1" | |
concurrency: | |
group: chrome-defaults | |
cancel-in-progress: true | |
# PHP Unit testing | |
php_unit_74_wp_next: | |
needs: set_constant | |
name: PHP 7.4 Current Major | |
uses: ./.github/workflows/test-php-unit.yml | |
with: | |
phpVersion: '7.4' | |
wpVersion: ${{needs.set_constant.outputs.wp_next}} | |
php_unit_80_wp_next: | |
needs: set_constant | |
name: PHP 8.0 Current Major | |
uses: ./.github/workflows/test-php-unit.yml | |
with: | |
phpVersion: '8.0' | |
wpVersion: ${{needs.set_constant.outputs.wp_next}} | |
php_unit_81_wp_next: | |
needs: set_constant | |
name: PHP 8.1 Current Major | |
uses: ./.github/workflows/test-php-unit.yml | |
with: | |
phpVersion: '8.1' | |
wpVersion: ${{needs.set_constant.outputs.wp_next}} | |
php_unit_82_wp_next: | |
needs: set_constant | |
name: PHP 8.2 Current Major | |
uses: ./.github/workflows/test-php-unit.yml | |
with: | |
phpVersion: '8.2' | |
wpVersion: ${{needs.set_constant.outputs.wp_next}} |