Skip to content

CI: Use builtin package cache support - #1718

Merged
jku merged 1 commit into
theupdateframework:developfrom
jku:workflow-use-builtin-pip-cache
Dec 20, 2021
Merged

jku merged 1 commit into
theupdateframework:developfrom
jku:workflow-use-builtin-pip-cache

Conversation

@jku

@jku jku commented Dec 9, 2021

Copy link
Copy Markdown
Member

actions/setup-python now supports pip cache: use that instead of
handling cache locations manually.

Cache invalidates when any requirements file changes (same as before):
this is a bit over cautious but probably harder to break.

Fixes #1692

Signed-off-by: Jussi Kukkonen [email protected]

actions/setup-python now supports pip cache: use that instead of
handling cache locations manually.

Cache invalidates when any requirements file changes (same as before):
this is a bit over cautious but probably harder to break.

Fixes theupdateframework#1692

Signed-off-by: Jussi Kukkonen <[email protected]>
@coveralls

coveralls commented Dec 9, 2021 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 1558409747

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.0%) to 98.58%

Totals Coverage Status
Change from base Build 1554266096: 1.0%
Covered Lines: 3871
Relevant Lines: 3897

💛 - Coveralls

@jku

jku commented Dec 9, 2021

Copy link
Copy Markdown
Member Author

Did some forced rebuilds and this seems to work as expected: caches are stored per operating system and they are found in later builds

@jku
jku marked this pull request as ready for review December 9, 2021 11:12
@sechkova

Copy link
Copy Markdown
Contributor

I'd like to approve but can someone with more knowledge on GH Actions have a look? @kairoaraujo @joshuagl

@kairoaraujo

Copy link
Copy Markdown
Contributor

LGTM

@jku
jku merged commit 4f8d494 into theupdateframework:develop Dec 20, 2021
@jku
jku deleted the workflow-use-builtin-pip-cache branch December 30, 2024 09:11
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.

Implement native support from GHA for pip caching with python-setup.

4 participants