Closed mindctrl closed 10 months ago
Updates the install-wp-tests.sh script so that curl follows redirects (-L option).
install-wp-tests.sh
curl
-L
Without this, the zip WPGraphQL zip file downloaded from wp.org was 0 bytes. Example failure: https://app.circleci.com/pipelines/github/wpengine/atlas-content-modeler/3797/workflows/012da7ed-af2c-4d0d-89ca-6419712e8ec2/jobs/42786
Automated phpunit tests should pass with this.
Example of tests passing with this fix: https://app.circleci.com/pipelines/github/wpengine/atlas-content-modeler/3803/workflows/c3498e01-d855-4964-a4c7-d48965a5bc53/jobs/42894
Description
Updates the
install-wp-tests.sh
script so thatcurl
follows redirects (-L
option).Without this, the zip WPGraphQL zip file downloaded from wp.org was 0 bytes. Example failure: https://app.circleci.com/pipelines/github/wpengine/atlas-content-modeler/3797/workflows/012da7ed-af2c-4d0d-89ca-6419712e8ec2/jobs/42786
Testing
Automated phpunit tests should pass with this.
Example of tests passing with this fix: https://app.circleci.com/pipelines/github/wpengine/atlas-content-modeler/3803/workflows/c3498e01-d855-4964-a4c7-d48965a5bc53/jobs/42894