-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
provide a output that lists compatible python versions #43
Comments
Could you elaborate more concretely what you have in mind? |
Given python requires and the supported python versions of github, I want a json list of supposedly supported pythons on github, so that they can be used in a matrix |
Yeah but how and where? Like as an action output similar to |
It will need to be a string as far as I understood the limitations of github actions An output similar to dist should suffice |
So what you want is to build the package as a first step, get a matrix:
python-version: ${{ steps.baipp.outputs.supported_pythons }} or something? How would that work? |
Correct |
Key problem here is not the list of python versions, but the names github uses for the python action |
You mean relative to Tox or what? |
Relative to the versions available on github for the setup python action |
So it's about something I've been exploring here: https://github.com/tox-dev/workflow/blob/8ca2e60/.github/workflows/tox.yml#L142. |
often times its nice to have a matrix job for all supported python versions
it would e nice if a optional output for the list of supported github pythons could be provided (as input for a matrix)
The text was updated successfully, but these errors were encountered: