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

[FEATURE] Data as git submodule #93

Open
jesse-wei opened this issue May 12, 2023 · 1 comment
Open

[FEATURE] Data as git submodule #93

jesse-wei opened this issue May 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jesse-wei
Copy link
Collaborator

jesse-wei commented May 12, 2023

The repo is ~2G when cloned due to data/.

data/ should be in a separate GH repo and added as a submodule to this repo.

Developers can then clone with --depth=1 (and probably --no-single-branch) to avoid initializing data/, if they don't need it. They can clone with --recurse-submodules to initialize data/. More info in git documentation about submodules.

If you choose not to clone data files, then you should use pytest's --ignore option to ignore tests that use files in data/. tests.yml may also have to be configured.

@jesse-wei jesse-wei added the enhancement New feature or request label May 12, 2023
@eric-unc
Copy link
Collaborator

skill lack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants