-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add missing behat.yml file and update feature tests #190
Conversation
@swissspidy I am trying to restore feature test here in this PR. I have fixed several broken tests but I am stuck in one test regarding core language. Scenario: One language has an update available This Also in WP 3.7, there are PHP warnings in all scenarios. Any idea about that? https://github.com/wp-cli/doctor-command/actions/runs/9284069665/job/25545664214?pr=190 |
IIRC it requires an
Probably easiest to add some Weirdly I don't see an |
You looked at Strangely we have not seen this issue in other repos. May be related to https://core.trac.wordpress.org/ticket/47357 |
Regarding language test, I copied test from Was surprised to see this tag - |
When |
Ah thanks!
Yes it uses 3.7. 3.7.41 was just one of the versions I was looking at when I shared the link. Forget about it :) Aside: there is already wp-cli/wp-cli-tests#51 |
I don't know. Maybe it was added by mistake. I suggest adding a PR to remove both restrictions and then see what breaks :) |
Looks like lower WP + higher PHP version generates lots of compatibility issues. May be such restriction was to avoid such issues. |
In WP 3.7, value of |
@wp-cli/committers Any idea about failing test in WP 3.7? Ref - https://github.com/wp-cli/doctor-command/actions/runs/9348877593/job/25728974652?pr=190 |
No idea, and unfortunately I can't easily set up 3.7 on my machine at the moment. To unblock other PRs, we could skip that test for 3.7 for now & open a new issue to look into it. WDYT? |
Any way to completely exclude test for 3.7? Coz lots of scenarios are failing in this version? |
Not yet, but this would be a great addition for our We support specifying a minimum PHP version here: We could support a minimum WP version as well. Right now we only test 3.7, 6.2, latest, and trunk though. So if someone does e.g |
@swissspidy PR wp-cli/.github#101 Not sure what this is you are talking about as I am completely new about this |
@swissspidy Test matrix fix seems to be working but there are few new failures from the last time. |
Trunk tests are failing because the core themes were updated yesterday in trunk, but not yet in the theme directory. This will happen later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Let's rerun the tests once the default themes are properly released today after the 6.6 release
Fixes #189