Generic name for previous version of WP tests. #62853
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Modifies the job name for running the PHP Unit tests against the previous version of WordPress to be version agnostic.
Instead of being named
PHP x.x (WP x.x.x)...
they are namedPHP x.x (WP previous major version)...
Why?
Each time a new version of WordPress is released, the list of required actions in this repo's settings become out of date and need to be updated. This causes expected jobs to fail to report on pull requests, stalling the potential for merging.
Warning
After merge, this will require updating the list of expected jobs in the settings.
The goal is that this will be the last time this is required.
How?
Replaces the WordPress matrix version number with
previous major version
and determines what that is when setting theWP_ENV_CORE
environment variable.Debug information is added to the docker containers to run
wp core version
and log the version being tested to the logs.Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast