Skip to content

Commit

Permalink
CI: Run tests against WP 5.7 (#11740)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey authored Jun 21, 2022
1 parent 79d8af4 commit 43624c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
matrix:
# TODO: add back Firefox once support is more mature.
browser: ['chrome']
wp: ['5.5']
wp: ['5.7']
snapshots: [false]
# We want to split up the tests into 2 parts running in parallel.
shard: ['1/2', '2/2']
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-unit-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
experimental: false

- php: '7.2'
wp: '5.5'
wp: '5.7'
experimental: false

- php: '8.0'
Expand Down Expand Up @@ -119,15 +119,15 @@ jobs:
#
# | WP / PHP | PHPUnit |
# |-----------|---------|
# | 5.5 / 7.2 | 7 |
# | 5.7 / 7.2 | 7 |
# | 5.9 / 7.2 | 8 |
# | 5.9 / 7.4 | 9 |
# | * / 8 | 9 |
#
# See https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/
- name: Update PHPUnit
run: |
if [[ $WP_VERSION == "5.5" && $PHP_VERSION == "7.2" ]]; then
if [[ $WP_VERSION == "5.7" && $PHP_VERSION == "7.2" ]]; then
echo "Installing PHPUnit 7.5.x"
composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^7.5 --with-dependencies
elif [[ $PHP_VERSION == "7.2" ]]; then
Expand Down

0 comments on commit 43624c8

Please sign in to comment.