Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Feb 18, 2023
1 parent ad4d29c commit 3236867
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/caches_cron_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- master
schedule:
- cron: "0 12 * * *" # Daily at noon UTC
pull_request:
types: [synchronize, opened, reopened]

jobs:

Expand Down Expand Up @@ -76,8 +78,16 @@ jobs:
if: steps.cache-datasets.outputs.cache-hit != 'true'
run: |
datalad install --recursive --get-data https://gin.g-node.org/NeuralEnsemble/ephy_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/
- name: Show size of the cache to assert data is downloaded
run: |
mv --force ./ephy_testing_data ~/spikeinterface_datasets
cd ~
du -hs spikeinterface_datasets
pwd
du -hs spikeinterface_datasets
cd spikeinterface_datasets
pwd
ls -l # Should show /ephy_testing_data
2 changes: 1 addition & 1 deletion .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
shell: bash # Necessary for pipeline to work on windows
- name: Test core with pytest
run: |
pytest -vv spikeinterface/core --durations=0 --durations-min=0.001 > report.txt
pytest --capture=tee-sys --full-trace -vv spikeinterface/core --durations=0 --durations-min=0.001 > report.txt
cat report.txt
- name: Build test summary
run: |
Expand Down

0 comments on commit 3236867

Please sign in to comment.