Skip to content

Commit

Permalink
fix caches hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Apr 18, 2023
1 parent a06ad01 commit 97e2c70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/caches_cron_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
- name: Move the downloaded data to the right directory
if: steps.cache-datasets.outputs.cache-hit != 'true'
run: |
mkdir --parents --verbose ${{ github.workspace }}/spikeinterface_datasets/ephy_testing_data/
mv --force ./ephy_testing_data ${{ github.workspace }}/spikeinterface_datasets/
mkdir --parents --verbose $HOME/spikeinterface_datasets/ephy_testing_data/
mv --force ./ephy_testing_data $HOME/spikeinterface_datasets/
- name: Show size of the cache to assert data is downloaded
run: |
cd ${{ github.workspace }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-test-with-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
# the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git
HASH_EPHY_DATASET: git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1
with:
path: ${{ github.workspace }}/spikeinterface_datasets
path: $HOME/spikeinterface_datasets
key: ${{ runner.os }}-datasets-${{ steps.vars.outputs.HASH_EPHY_DATASET }}
restore-keys: |
${{ runner.os }}-datasets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git
HASH_EPHY_DATASET: git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1
with:
path: ${{ github.workspace }}/spikeinterface_datasets
path: $HOME/spikeinterface_datasets
key: ${{ runner.os }}-datasets-${{ steps.vars.outputs.HASH_EPHY_DATASET }}
restore-keys: |
${{ runner.os }}-datasets
Expand Down

0 comments on commit 97e2c70

Please sign in to comment.