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

CI: Fix E2E job not finding WP-CLI binary #1338

Merged
merged 1 commit into from Feb 10, 2020
Merged

Conversation

jrtashjian
Copy link
Member

This resolved an issue where our end-to-end tests were not running because it couldn't find the WP-CLI binary. We were using a relative path to the binary in composer's vendor directory which was incorrect given the current working directory was set by path in the step.

This PR also moves away from our wp_creds.json file and instead utilizes cypress.env.json and the Cypress.env() method. This solves the problems we have been having with overriding our local site config for Cypress on different environments.

@jrtashjian jrtashjian added [Type] Bug Something that is not working as expected [Priority] Critical This issue/pull request needs resolving immediately, likely followed by a hot-fix [Status] Needs Review Tracking pull requests that need another set of eyes [Type] Tooling Relevant to project tooling labels Feb 10, 2020
@jrtashjian jrtashjian self-assigned this Feb 10, 2020
@jrtashjian jrtashjian mentioned this pull request Feb 10, 2020
9 tasks
Copy link
Contributor

@EvanHerman EvanHerman left a comment

Choose a reason for hiding this comment

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

Nice 💯

@jrtashjian jrtashjian merged commit cec9f97 into master Feb 10, 2020
@jrtashjian jrtashjian deleted the fix/circleci-e2e-job branch February 10, 2020 23:10
@jrtashjian jrtashjian added this to the 1.21.0 milestone Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] Critical This issue/pull request needs resolving immediately, likely followed by a hot-fix [Status] Needs Review Tracking pull requests that need another set of eyes [Type] Bug Something that is not working as expected [Type] Tooling Relevant to project tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants