Skip to content

Try to use github repo for dataset cache #30698

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

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ set -x
# defines the get_dep and show_installed_libraries functions
source build_tools/shared.sh

[ -d ~/scikit_learn_data ] && du -sh ~/scikit_learn_data/*
is_dataset_cache_present=$(du -sh ~/scikit_learn_data | grep -P '\d{3}M' && echo yes || echo no)
if [[ "$is_dataset_cache_present" == "no" ]]; then
rm -rf ~/scikit_learn_data
git clone https://github.com/lesteve/scikit_learn_data ~/scikit_learn_data
fi

if [ -n "$GITHUB_ACTION" ]
then
# Map the variables from Github Action to CircleCI
Expand Down
Loading