Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd appveyor.yml for automated Windows testing #602
Conversation
Add appveyor.yml for automated Windows testing
This comment has been minimized.
This comment has been minimized.
|
Nice, hopefully this will help us catch when there's a regression on Windows! Much appreciated @josephfrazier! |
This comment has been minimized.
This comment has been minimized.
|
It looks like it's all configured, if you go here: https://ci.appveyor.com/project/feross/webtorrent Also, added a badge to the readme :) |
This comment has been minimized.
This comment has been minimized.
|
Sweet, thanks! There's a noticeable delay on the builds, but they're better late than never. One thing that I thought you might be interested in is that the |
This comment has been minimized.
This comment has been minimized.
|
@josephfrazier Just saw your comment - sorry for missing it before. I think you're generally right. We should update That said, I prefer not to cache the |
This comment has been minimized.
This comment has been minimized.
|
For example, if we fix a bug and add a test for it, but forget to update |
This comment has been minimized.
This comment has been minimized.
|
Oh, that makes sense now, given that the new user experience is prioritized. I'll update appveyor.yml accordingly. Thanks for the explanation! |
See the discussion at webtorrent#602 (comment) > I prefer not to cache the node_modules folder on CI since I want to > catch bugs that exist in the latest published packages, i.e. what a > user will experience when running npm install webtorrent for the first > time.
It’s causing the tests to fail because there’s an old version of create-torrent being used.
This comment has been minimized.
This comment has been minimized.
|
@josephfrazier Thanks for caring so much about testing and reliability! :) |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
May 4, 2018
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
josephfrazier commentedFeb 8, 2016
#429 reminded me that webtorrent doesn't have any automated Windows testing. AppVeyor is a service that can provide that for us. Here's an example build: https://ci.appveyor.com/project/josephfrazier/webtorrent/build/1.0.6
Note that simply merging this isn't quite enough to get builds running. AppVeyor also needs to be configured here. I should be able to do this if/once this is merged.