-
-
Notifications
You must be signed in to change notification settings - Fork 13
Add Appveyor yml file to run tests against Windows PowerShell 5.1, PowerShell Core on Windows and PowerShell Core on Linux (Ubuntu) #40
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
Thanks, I am already building against some Linux on Travis. Is there any benefit in having two builds that target Linux? The message is not a bug, it's a warning that if seen by an end-user should be reported because then it means that Options are not passed correctly in recursive calls, but in the build it is normal because I am not providing the options in many tests. A solution to that would be making the Option parameter mandatory and give options to all tests, but I did not want to do that (yet?). |
One more question, is it possible to run against PowerShell 3 & 4 on AppVeyor as well? |
Well, before the build definition was not part of source control and was only testing against ps5.1 |
The build definition for travis is in the source control for a long time, even your PR is built against linux and macos. I don't think it's worth to build it twice on two different linux versions distros. The wmf4 would be great, how do I request it? I would actually like to set this up for Pester as well, the community build server is very slow so I would move to travis+appveyor and the rest could run on azurepipelines where I can also sign and release, but I want to leverage the community provided infrastructure as much as possible :) |
No, I was saying that |
@IlyaFinkelshteyn Could you please enable the |
@bergmeister Now I understand. :) Yes please remove the ubuntu from the config. |
@bergmeister Enabled |
@IlyaFinkelshteyn thank you. Could you enable it for https://github.com/pester/Pester as well please? |
@IlyaFinkelshteyn Thanks. I tried using the |
@bergmeister I think it is because we both confused and actual image name is @nohwnd GitHub project https://github.com/pester/Pester is being build with the same AppVeyor account, e.g. Please let me know how it goes. |
@IlyaFinkelshteyn thanks! |
@IlyaFinkelshteyn Thanks, sorry, I forgot about the space in the name. Yes, it works now, it is just the code now that needs adaption to work with that PowerShell version :) |
@bergmeister great, thank for the update! |
Run build/test script and upload test results in AppVeyor. Just add this repo to AppVeyor and it will work out of the box. Here is a build from my fork.
The build that uses Windows PowerShell here exhibits a bug in

Assert
btw: