-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix github actions for large file storage #224
Conversation
end users do not need tests; developers can always access to the tests in the github repo and releases
Got an email from github on warning of the bandwidth usage of lfs (see below), it looks lfs is not a great solution for us. So I converted this PR to draft and will explore other solutions.
|
only automatically do unit tests
now if http response code is not "200 OK", then the website is down.
The hooks will make sure creation and deletion only run once in mater process when parallel testing is enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR! Only minor comments and suggestions.
Co-authored-by: Giulia Crocioni <[email protected]>
Co-authored-by: Giulia Crocioni <[email protected]>
Co-authored-by: Giulia Crocioni <[email protected]>
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @CunliangGeng and the rest of your teammates on Graphite |
Merge activity
|
We used large file storage (lfs) for handling large test dataset (zip files).
The github action " actions/checkout" does not use lfs automatically, leading to failed tests, and so we have to set it explicitly (see the usage).
However, it's not free to use lfs and there is storage and bandwidth limit (see the comment), which we do not want.
This PR stopped the use of lfs and implemented an alternative way to handle large files. The approach is to put the large files in Zenodo, and download it before running tests if there is no local cache.
Major changes: