-
Notifications
You must be signed in to change notification settings - Fork 21
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
use a python venv #173
use a python venv #173
Conversation
I'm going to convert some steps to powershell syntax to fix support for windows runners. Basically, we can't use the actions/setup-python output variable See this test repo's workflow output. Notice that Tip You can install powershell in Ubuntu and play around with it locally. |
Success! 🎉 I still don't know a lot about powershell syntax... But I got the python venv to work on all OS runners using powershell syntax. 💯 See test-repo workflow run. |
adheres to PEP668 and addresses #171
still learning powershell... use Invoke-Expression use nested quotes use string concatenation
I am surprised Powershell works on Windows, macOS, and Linux. |
I'm going to keep this open while we try to find an acceptable approach to using non-default docker images, specifically those that don't have powershell installed (see #171 discussion). |
yeah, that would be great! |
should support thee OS's native shell
I should also add a notice to the README saying we can only support Debian-based Linux runner images (no Fedora or Arch docker images will work with |
Your change looks great! It makes sense to add a notice in the README. |
adheres to PEP668 and addresses #171