Skip to content
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 --recreate-db option to install-wp-tests.sh #320

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vcanales
Copy link

@vcanales vcanales commented Jun 9, 2023

This adds a --recreate-db option to remove the need for user input when running the
script for confirming database recreation, helpful when it is run in a CI context, such as a part of a GitHub Action. The command can be safely run without flags, and it will respect the order of the other options.

Also, refactors the help message and when it is printed.

This adds an option to remove the need for user input when running the
script for confirming database recreation,  helpful when it is run in a
CI context, such as a part of a GitHub Action.

Also refactors the help message, and when it is printed.
@vcanales vcanales requested a review from a team as a code owner June 9, 2023 18:18
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request, @vcanales !

Can you add a corresponding scenario to features/install-wp-tests.feature?

@danielbachhuber danielbachhuber changed the title Add --recreate-db option Add --recreate-db option to install-wp-tests.sh Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants