Closed zacharyburnett closed 1 month ago
@mperrin I apologize for all the notifications; when working on the romancal
tests I realized that a more generalized cache path was needed. This and #881 should be the last two polishing PRs and then it should be maintenance-free. Thanks for being so patient!
@zacharyburnett I definitely don't understand the GitHub caching and cache paths at all (I was completely unaware of this functionality before you contributed this PR, to be clear) so it's easy to be patient with lots of PRs. Plus I know how much of a hassle it can be to get working these sorts of infrastructure things which can't be entirely tested locally!
Thanks! This just needs a manual run of https://github.com/spacetelescope/webbpsf/actions/workflows/download_data.yml to re-make the cache, and then it's all set
EDIT: one more PR to fix the download_data.yml
: #885
since GitHub caching has a quirk where caches are distinguished by both the cache key AND cache path, this should make it much easier to cache WebbPSF data and also CRDS files when running the
romancal
tests, by settingrestore-keys
This PR changes the cache path as so:
where
webbpsf-data/
is stored within${{ runner.temp }}/data/