From 79168741035ad57f67e21804ed70dcb1a00f0041 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Sat, 18 Feb 2023 16:38:40 -0300 Subject: [PATCH] shorter testing data --- .github/workflows/caches_cron_job.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/caches_cron_job.yml b/.github/workflows/caches_cron_job.yml index 3ae5fe18fa..8b0858541a 100644 --- a/.github/workflows/caches_cron_job.yml +++ b/.github/workflows/caches_cron_job.yml @@ -57,13 +57,13 @@ jobs: - name: Get current hash (SHA) of the ephy_testing_data repo id: repo_hash run: | - echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)" - echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT + echo "dataset_hash=$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data HEAD | cut -f1)" + echo "dataset_hash=$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data HEAD | cut -f1)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: cache-datasets with: path: ~/spikeinterface_datasets - key: ${{ runner.os }}-datasetsTEST-${{ steps.repo_hash.outputs.dataset_hash }} + key: ${{ runner.os }}-datasets-${{ steps.repo_hash.outputs.dataset_hash }} - name: Cache found? run: echo "Cache-hit == ${{steps.cache-datasets.outputs.cache-hit == 'true'}}" - name: Installing datalad and git-annex @@ -78,12 +78,12 @@ jobs: - name: Download dataset if: steps.cache-datasets.outputs.cache-hit != 'true' run: | - datalad install --recursive --get-data https://gin.g-node.org/NeuralEnsemble/ephy_testing_data + datalad install --recursive --get-data https://gin.g-node.org/CatalystNeuro/behavior_testing_data - name: Move the downloaded data to the right directory if: steps.cache-datasets.outputs.cache-hit != 'true' run: | mkdir --parents --verbose ~/spikeinterface_datasets/ephy_testing_data/ - mv --force ./ephy_testing_data ~/spikeinterface_datasets/ + mv --force ./behavior_testing_data ~/spikeinterface_datasets/ - name: Show size of the cache to assert data is downloaded run: | cd ~