Skip to content

Keep test suite in sync with WP files when testing trunk/nightlies - #271

Merged
schlessera merged 1 commit into
wp-cli:masterfrom
joemcgill:267/fix-nightly-tests
Jul 15, 2020
Merged

schlessera merged 1 commit into
wp-cli:masterfrom
joemcgill:267/fix-nightly-tests

Conversation

@joemcgill

Copy link
Copy Markdown
Contributor

This replaces the existing process of downloading the nightly .zip file with exporting a clean directory tree from https://core.svn.wordpress.org/trunk, which is more closely in sync with the unit test suite files installed during the install_test_suite() process. Additionally, using svn export instead of svn co avoids downloading the .svn directory, which is unnecessary.

Fixes #267.

This replaces the existing process of downloading the nightly .zip file with exporting a clean directory tree from https://core.svn.wordpress.org/trunk, which is more closely in sync with the unit test suite files installed during the install_test_suite() process. Additionally, using `svn export` instead of `svn co` avoids downloading the .svn directory, which is unnecessary.
@joemcgill
joemcgill requested a review from a team as a code owner July 6, 2020 16:34
swissspidy added a commit to GoogleForCreators/web-stories-wp that referenced this pull request Jul 9, 2020
swissspidy added a commit to GoogleForCreators/web-stories-wp that referenced this pull request Jul 15, 2020
@schlessera schlessera added command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command command:scaffold-theme-tests Related to 'scaffold theme-tests' command labels Jul 15, 2020
@schlessera schlessera added this to the 2.0.11 milestone Jul 15, 2020
@schlessera
schlessera merged commit ab12eda into wp-cli:master Jul 15, 2020
@joemcgill
joemcgill deleted the 267/fix-nightly-tests branch July 15, 2020 15:07
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Keep test suite in sync with WP files when testing trunk/nightlies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command command:scaffold-theme-tests Related to 'scaffold theme-tests' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

install-wp-tests.sh may install a broken setup when using "nightly"

3 participants