Cache message-static-data in "pytest" workflow#339
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
=======================================
- Coverage 78.6% 77.7% -0.9%
=======================================
Files 215 215
Lines 17219 17220 +1
=======================================
- Hits 13536 13389 -147
- Misses 3683 3831 +148
🚀 New features to boost your workflow:
|
d327878 to
662153d
Compare
khaeru
added a commit
that referenced
this pull request
Apr 29, 2025
Member
Author
|
I decided some of these things need to flow back to ixmp itself so we aren't making the same adjustments in multiple places → iiasa/ixmp#570. Will drop the commits from this branch once that is in. |
khaeru
added a commit
that referenced
this pull request
Apr 29, 2025
fec26db to
95bde5e
Compare
Member
Author
Okay, now done, and here is a workflow run that passes. I am not sure why some of the run times appear longer today. I'll now rebase to drop the temporary commit so the PR is ready to merge. |
- Bump astral-sh/setup-uv from v5 → v6. - Remove actions/cache; use enable-cache arg to setup-uv. - Use pre-commit itself to clear cached environments. - Add --with=pre-commit-uv for better performance.
These arise from iiasa/ixmp#552.
95bde5e to
eab5347
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adjusts the workflow in order to reduce Git LFS bandwidth usage.
In particular:
warm-lfs-cachejob. This uses some of Git LFS bandwidth quota.pytestjob (5 per OS) to the same paths.Neither of steps (2) or (3) count towards Git LFS bandwidth, so this should reduce our run rate.
Also:
Adjust for Implement ixmp4 shim ixmp#552:These changes were obviated by Adjust dependency on ixmp4 ixmp#570.Temporarily disable the dependency onixmp[tests]. This is becauseixmp[tests]→ixmp[ixmp4]→ ixmp4 via a Git URL. This indirect dependency on a URL is not supported, and so install fails.Add.types.PlatformArgsand use in.util.config.Config.How to review
PR checklist
Add, expand, or update documentation.N/A; CI changesUpdate doc/whatsnew.