Skip to content

Conversation

@jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Feb 8, 2024

This PR refactors the scripts to no longer use the community-contributed install-wp-tests.sh script.

Functions have been broken out into a helpers.sh file that is sourced where needed.

Tests have been updated and additional tests that run through the actual scripts have been added to this repository. This is a major change since there are fundamental improvements made to how the scripts even work.

Additionally, improvements have been made to the internal tests as a whole, pulling complex scripting out of the test.yml file and into their own scripts in .github/workflows/bin.

Pulled out of pantheon-systems/pantheon-mu-plugin#29 so the scripts can be centralized and updated in one place rather than using copy/pasta.

Successful run using this package: https://github.com/pantheon-systems/pantheon-mu-plugin/actions/runs/7836581235/job/21422397789

@jazzsequence jazzsequence changed the title Add more helpers Add helpers Feb 8, 2024
@jazzsequence jazzsequence marked this pull request as ready for review February 8, 2024 22:04
@jazzsequence jazzsequence requested a review from a team as a code owner February 8, 2024 22:04
Copy link
Member

@pwtyler pwtyler left a comment

Choose a reason for hiding this comment

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

these were written before our discussion earlier but posting all the same

@jazzsequence jazzsequence requested a review from pwtyler February 13, 2024 16:43
@jazzsequence jazzsequence merged commit 8f77f20 into main Feb 13, 2024
@jazzsequence jazzsequence deleted the add-more-helpers branch February 13, 2024 21:19
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.

3 participants