-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add CI for windows runner #1458
Conversation
@oryx1729 @julian-risch Please review this PR. |
57d138c
to
dddddc7
Compare
@tholor This PR is about to complete. As windows github env does not support Linux containers, we can't start Milvus, Weavite and GraphDB, Tika containers. Please suggest way to disable these test for windows platform (ie what command line argument need to pass?). Also not able to make crawler to work via web-driver. |
I think a clean way to exclude these tests would be to mark the tests or the individual parameter settings that don't work on windows. The pytest documentation tells me that "It is also possible to mark individual test instances within parametrize" https://docs.pytest.org/en/latest/parametrize.html Thereby, we can exclude them when running pytest. For example, A slightly different option would be to mark all milvus tests (and parameter settings) and exclude them via something like |
Thanks @julian-risch Also please let me know your view about creating separate windows-ci.yml instead of keeping it in same ci.yml. |
For the document stores it should be sufficient to pass This leaves us with tika and graphdb - for both we already have markers so we should be able to exclude them via
|
As we are not starting the same docker containers as in the linux CI, I think it would be simpler & cleaner to have it in a separate file. Do you see any downsides for it? |
Pros: It will be more clean
Also not sure to make tree based CI means first we will run type-check, then only we would like to run CI (linux and windows) |
cc8a5ea
to
4aa7d1f
Compare
@tholor @julian-risch PR is ready for review. One query regarding when to run As we are using one runner for each test file, most of the time our check will go to Queue mode. So I would suggest to run windows CI only on push to master instead on every PR. It will help in reduction in carbon footprint :) |
Yep, sounds good. Let's reduce carbon footprint a bit and only run for every push to master |
@tholor Yes everything is complete in this PR. Please review it and merge if you are fine with the changes. |
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 a lot! Looking good already! Left a few minor comments.
…ong with adding CI for windows and mac platform
41bd54d
to
38395be
Compare
@tholor Addressed review comments. |
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.
Looking good to me. Thanks a lot @lalitpagaria ! Will hopefully help us to spot more bugs for our windows friends
Download archive from url without temp file along with adding CI for win & mac
To resolve #1445
Proposed changes:
Status (please check what you already did):