mrcrowl / vscode-hg

Integrated Mercurial source control for Visual Studio Code
MIT License
71 stars 37 forks source link

Enable testing in MacOS via Github Actions #130

Open hdpoliveira opened 4 years ago

hdpoliveira commented 4 years ago

https://github.com/mrcrowl/vscode-hg/commit/9fef761739d72a85b4545f9925c90e788cd44600 implemented testing for Windows and Ubuntu via Github Actions.

However, for GitHub's MacOS image does not come with Mercurial installed, so we cannot run tests on it the same way.

This issue is for enabling testing in MacOS. One possible way is by installing Mercurial via pip.

Check Using Python with GitHub Actions

incidentist commented 4 years ago

I install stuff on Mac using homebrew, but pip is probably the way to go here because installation would be much faster and ensures hg will use the system python. Catalina ships with both 2.7 and 3, and the python command runs 2.7. You gotta run python3 and pip3 to run Python 3, and then we'd have to tell VSCode to use those python executables as well. Everything should work fine in 2.7 anyway.