File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,22 @@ jobs:
293293 conda activate "${{ env.install_dir }}"
294294 mamba install ${{ env.TEST_DEPS }}
295295
296+ - name : Get rosettasciio tests data location
297+ run : |
298+ python -c "from rsciio.tests import registry; print(f'ROSETTASCIIO_TEST_DATA={str(registry.TESTS_PATH / \"data\") }')" >> $GITHUB_ENV
299+
300+ - name : Cache rosettasciio data
301+ uses : actions/cache@v4
302+ env :
303+ # Increase this value to reset cache
304+ CACHE_NUMBER : 0
305+ with :
306+ path : ${{ env.ROSETTASCIIO_TEST_DATA }}
307+ key :
308+ RosettaSciIO-test_data-${{ env.CACHE_NUMBER }}
309+ restore-keys : |
310+ RosettaSciIO-test_data-${{ env.CACHE_NUMBER }}
311+
296312 - if : always()
297313 name : Test new distribution (HyperSpyUI)
298314 run : |
You can’t perform that action at this time.
0 commit comments