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

test: cache retrieved cutouts #392

Merged
merged 3 commits into from
Oct 25, 2024
Merged

test: cache retrieved cutouts #392

merged 3 commits into from
Oct 25, 2024

Conversation

lkstrp
Copy link
Member

@lkstrp lkstrp commented Oct 25, 2024

  • Adds the option to use a cache dir for cutout retrieval instead of tmp_path_factory for every run
    • Used to decrease load during tests in CI
  • Pass it via the optional --cache-path flag
    • e.g. pytest . --cache-path ./.cutout_cache

@lkstrp lkstrp merged commit e6d886e into PyPSA:master Oct 25, 2024
8 of 17 checks passed
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.

1 participant