-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh install-wp-tests.sh
script
#322
Comments
Another thing that's annoying: On macOS the files in the tmo To make that more robust, we can check if files like |
GitHub Actions is upgrading to Ubuntu 24 and no longer installs SVN by default. See actions/runner-images#10636 Similarly, in the past Apple has removed Subversion from macOS (starting with 10.15 Catalina) That means now many people will need to update their GitHub Actions workflows to install Subversion, or have to first install it on their computers. Luckily WordPress source code can also be downloaded with Git, which is the preferred method for almost everyone. You only really need SVN if you need to commit to core). Thus, I suggest changing the script to use Git. |
I came here to report the SVN -> Git thing, so I'm pleased to see it's already on someone else's radar. I've also considered whether the integration testing of core or plugins could switch to |
wp-env is an unnecessary abstraction and requires Docker. Not something we should add to this script. |
Feature Request
Describe your use case and the problem you are facing
This script hasn't really seen any major updates, because they haven't been necessary, but I think there's still some room for improvements.
Describe the solution you'd like
Some thoughts and ideas:
WP_USE_EXT_MYSQL
tofalse
) anymore.install-wp-tests.sh
in sync with the version here. Developers miss out on important updates.Even just adding a link to this repo at the top of the file, maybe with a "Last updated" date, would be helpful
User-Agent
header to cURL requests as WordPress.org seemed to block requests otherwise.e.g.
curl -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (K HTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" -s "$1" > "$2";
mariadb-admin
The text was updated successfully, but these errors were encountered: