-
-
Couldn't load subscription status.
- Fork 6
GH Actions: run DevTools tests on Windows #180
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
Conversation
|
I'm not totally sure, but I believe the required checks are defined in the GitHub repository settings, and those will need to be updated if this PR is approved as is, as the name of the checks changes to include the OS name. |
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.
Thanks for setting this up @rodrigoprimo !
Two questions:
- Why was this pulled against
stable? I didn't look at it in detail when we discussed yesterday, butstableat this time contains no tests for which the OS makes a difference. - Why are you adding runs against Windows for the
quicktest-phpcsandtest-phpcsjobs ?
|
Thanks for checking this PR, @jrfnl!
Maybe I misunderstood our conversation yesterday, but I thought you asked me to pull this PR against
Because they contain the PHPCSDebug tests with special handling for different line endings as I detailed above. But maybe for some reason that I'm missing, you don't think it is necessary to run quicktest-phpcs and test-phpcs jobs against Windows just for this reason? |
No, the use of |
4890b54 to
8e257bd
Compare
This commit changes both the test.yml and the quicktest.yml workflows to run the test-php and quicktest-php jobs (DevTools tests) on Windows as well. Before the tests were executed only on Linux. Installing xmllint on Windows using Chocolatey is a bit slow. We can look into ways on how to make it faster if needed.
8e257bd to
77a0e74
Compare
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
3db8342 to
393469b
Compare
|
I went ahead and updated the original commit to run only I created a separate branch on my fork to verify that the quicktest is working as expected: https://github.com/rodrigoprimo/PHPCSDevTools/actions/runs/15047189089 This PR is ready for another review. Thanks. |
|
Happy to merge this PR to Let me know what your thoughts are about this. |
This PR changes both the test.yml and the quicktest.yml workflows to run the tests on Windows as well. Before, the tests were executed only on Linux.
Installing xmllint on Windows using Chocolatey is a bit slow. We can look into ways to make it faster if needed.
Another thing to consider is whether we need to run all the test variations on Windows, as done in this PR. If not, this should speed up a bit the total time for all the checks to complete.