-
Notifications
You must be signed in to change notification settings - Fork 23
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
Run tests against Windows #155
Comments
As part of the nightly testing of the mentioned issue I've run the test suite on Windows which fail with the following error. 1) Extractor_Test::test_extract_tarball
Failed asserting that 1 is identical to 0.
wp-cli\tests\test-extractor.php:119 Tracing the error I find this. tar: Option --force-local is not supported Removing the
I tested on Windows 10 against:
|
Looks like that was added ~5 years ago: wp-cli/wp-cli@271cd75#diff-ce006bf8351a3174bac26fef9078e893523d313ace23732b67ad97942e7b2ec4R115-R116 It was included in the same PR as the original issue: wp-cli/wp-cli#4572 My guess is that @gitlost fixed some "earlier versions of PHP on Windows" issue that no longer exists. I don't know what the particular issue was or when it was resolved, though. Pardon my extremely naive question but... which versions of Windows should we support? |
Great question...
|
No harm running tests against MacOS either, if it's easy to add to the matrix. I've had to fix differences in tar and sed. ...it's not unlikely that those same issues will reoccur under Windows. Unfortunately I don't have a regular Windows environment to test in (currently searching to see is Azure a tool I could use). |
To help prevent regressions like wp-cli/wp-cli#5521, it would be nice to run our test suites against Windows.
Done is:
The text was updated successfully, but these errors were encountered: