-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Try switching wordpress install in travis to wp-env #22303
Conversation
Size Change: 0 B Total Size: 827 kB ℹ️ View Unchanged
|
7bef91a
to
70d9b5a
Compare
We need to land #20090 first. What is missing there? |
basically just need to make sure the API for exposing through |
This is interesting. I've been seeing these "can't update react state on an unmounted component" failures locally for quite a while and it's been really hard to get around them. see: #17355 Anyways, these didn't really occur in CI that often, which was nice (but suprising). Now that we use wp-env here, it looks like most tests are failing because of that error. |
also getting some warnings related to deprecated react APIs. Not sure what the difference is running them against wordpress develop vs wp-env. |
We shouldn't expose it through
|
Sounds great 👍 |
we likely want this to stay true in dev mode, so I'll look into what we discussed with separate dev/testing environments. We could get around it in the install step, but i think it makes sense to knock out this other task. |
There's #20280 which I worked on a while ago and does the same thing. E2E tests are passing there (though PHP tests are failing for some reason.) |
closing in favor of #20280 which has been around for a lot longer and has some more things solved already :) |
Description
Curious to see if this works and what would need to be changed. I'm using
npm run wp-env...
because I think that uses the local wp-env in the git checkout. So that would help us make sure that wp-env keeps working.phpunit tests will probably keep failing. That depends on #20090
I spun this up because all our e2e tests started failing because of an issue in wordpress-develop.
How has this been tested?
Travis