Skip to content
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

GitHub Actions: Install multiple versions of Python in a single job #2951

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Mar 19, 2023

https://github.com/actions/setup-python/releases/tag/v4.4.0

This should be much faster without all the repeated setup and teardown.

Run actions/setup-python@v4
Installed versions
  Successfully set up CPython (3.7.16)
  Successfully set up CPython (3.8.16)
  Successfully set up CPython (3.9.16)
  Successfully set up CPython (3.10.10)
  Successfully set up CPython (3.11.2)

The process of using tox -e ALL seems to work perfectly but the long build and test times are the deal breaker.
We end up with a single long-running process instead of multiple processes running in parallel.

Thanks for your contribution

Please, make sure you address all the checklists (for details on how, see
development documentation)!

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added a news fragment in docs/changelog folder
  • updated/extended the documentation

https://github.com/actions/setup-python/releases/tag/v4.4.0

This should be much faster without all the repeated setup and teardown. 
```
Run actions/setup-python@v4
Installed versions
  Successfully set up CPython (3.7.16)
  Successfully set up CPython (3.8.16)
  Successfully set up CPython (3.9.16)
  Successfully set up CPython (3.10.10)
  Successfully set up CPython (3.11.2)
```
@cclauss cclauss closed this Mar 19, 2023
@cclauss cclauss deleted the patch-1 branch March 19, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant