-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for setting up the core test suite #84
Conversation
Great! This is working. 🥳 Pending items:
|
WP_VERSION: ${{ inputs.wordpress }} | ||
WP_DB_HOST: 127.0.0.1 | ||
WP_DB_USER: root | ||
WP_DB_PASSWORD: '""' | ||
WP_MULTISITE: ${{ inputs.multisite == true && 1 || 0 }} | ||
|
||
PACKAGE_DIRECTORY: ${{ inputs.install-core-tests == true && format('{0}/wp-content/{1}/', '/tmp/wordpress', inputs.working-directory) || inputs.working-directory }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love a second opinion as to why using WP_CORE_DIR
or env.WP_CORE_DIR
does not work here. It complains the env does not exist. 🤔
Currently, it is hardcoded to '/tmp/wordpress'
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me but I am not sure the use case (installing the core test suite) is something we'll use at all at Alley.
@srtfisher Agree! It was necessary for some non-Alley open source projects. If that's not desired, we can certainly remove it.
Since it is open source, and can be used in any public repo that might want or need it. |
fixes #85