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: Cache virtualenv #3

Merged
merged 2 commits into from
Nov 14, 2023
Merged

github: Cache virtualenv #3

merged 2 commits into from
Nov 14, 2023

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Nov 10, 2023

What does this Pull Request accomplish?

Cache the check_protos virtualenv so it is only rebuilt when poetry.lock changes.

Also rename the install dependencies step.

Why should this Pull Request be merged?

Avoid downloading packages from PyPI for every PR/CI build.

In the measurementlink-python repo, caching venvs had a significant performance benefit. For this project, it's more about being a good citizen (don't waste bandwidth) and eliminating a point of failure.

What testing has been done?

PR build

@bkeryan bkeryan changed the title Users/bkeryan/cache venv github: Cache virtualenv Nov 10, 2023
@bkeryan bkeryan merged commit 1bd7293 into main Nov 14, 2023
1 check passed
@bkeryan bkeryan deleted the users/bkeryan/cache-venv branch November 14, 2023 22:56
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.

3 participants