-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Move from Azure Pipelines to GitHub Actions #172
Comments
Is there any important difference? Anyway, I don't mind. @dgreisen Any thoughts? |
GitHub Actions is faster and there is way more institutional knowledge from folks in the community compared to Azure Pipelines. |
I believe the primary reason we went with Azure was so we could test on windows and linux. It appears we can do all that and more with actions. So I'm fine with actions. |
GitHub Actions covers Windows, Linux, and macOS. |
Correct, we wanted to test it on both Windows and Linux platforms. @brettcannon If you are still willing to make the transition to GitHub actions, please feel free to do it. |
Yep, I am still up to do it, just don't have an exact ETA. Any changes you would want, like testing against Python 3.9? |
Sure. So, we would test it for python 3.6-3.9 on all three major platforms? |
You tell me. 😄 In a lot of projects I see them avoid using macOS simply because it has the greatest chance of holding up results and it often isn't different enough to Linux for Unix-like testing (drawback of Apple not letting people install macOS on anything but a Mac; have to have a literal rack of Mac machines to provide the service). |
Makes sense, but I didn't notice any issues with the macOS builds for another project. We run tests on win32, win64, macOS, and Linux platforms there just fine, but I agree with you that it's maybe not needed. You can just transition what we have now (+python 3.9) and we could always change it later :) |
I've hit a snag. In the Azure Pipelines definition you are checking the JSON extension using Line 59 in 11096f7
But what you're in fact installing is eslint:
The problem is that eslint wants a configuration file, so running it fails. How would you like me to handle this? I also can't turn on Python 3.9 support with this work as mypy fails. I'll leave that as a separate thing. And if you're curious how this looks so far, see https://github.com/brettcannon/pygls/actions. |
FYI I found out the 3.9 failure is due to mypy being pinned to an old version. I'll worry about fixing it once I found out what you want to do about about eslint and get GitHub Actions working. |
I removed
Could you please add a configuration file? Use whatever configuration you like.
I noticed the same issue in #157 where mypy was updated to the latest version. We should probably fix/merge #157 first. I can do that, so you can continue with your PR. If it makes sense you can cherry-pick those commits to your PR, let me know what you think. |
Got it all working (https://github.com/brettcannon/pygls/actions)! Just let me know when #157 has been merged and then I can do a merge against the default branch and create a PR. |
@brettcannon #157 is merged now, please go ahead and make a PR when you can. |
Any interest in moving to GitHub Actions? I noticed the Actions tab is turned on in this repo but isn't being used. I'm willing to do the work to set it up if you're interested.
The text was updated successfully, but these errors were encountered: