wpengine / atlas-content-modeler

Content modeling plugin for WordPress
https://developers.wpengine.com/docs/atlas-content-modeler
GNU General Public License v2.0
165 stars 13 forks source link

ci: fix phpunit tests #679

Closed mindctrl closed 10 months ago

mindctrl commented 10 months ago

Description

Updates the install-wp-tests.sh script so that curl 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