Add Azure Pipelines for CI (Linux, Mac, and Windows)#916
Closed
Add Azure Pipelines for CI (Linux, Mac, and Windows)#916
Conversation
Collaborator
|
Good coverage and helpful information in the description including helpful info on mocha and ava. Thanks for references to related issues, always appreciated. I think we will come back to this after deciding where we are going with sinon, so closing this in the meantime to clear out Pull Requests we are not ready to act on. I have added a comment to #635 back to this Pull Request. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Azure Pipelines gives open source projects 10 build pipelines with unlimited minutes for Linux, Mac, and Windows.
This PR adds support to run CI on all three platforms and also makes changes so that the tests pass on Windows (fixes #635). I did have to special case some tests; for example,
searchworks on Windows whereas the tests expect anEACCESerror for Linux/Mac. Any pointers on preferred ways to make the tests Windows-friendly would be much appreciated!I set up a commander.js pipeline here. The builds seem to be slightly faster than on Travis. I'm happy to transfer ownership over if this is something you want to pursue. Here's a screenshot of the UI:

Azure Pipelines also has rich test reporting which works well with commonly used test runners, including mocha and ava which are being considered in #649. Here's an example from prettier:

Let me know if there are any questions or suggestions. I'm a Program Manager for Azure Pipelines and happy to help!