Skip to content

Commit

Permalink
Add atlas caching
Browse files Browse the repository at this point in the history
The atlases aren't currently needed for the tests (there aren't any), but this will speed them up when tests are added.
  • Loading branch information
adamltyson authored May 20, 2024
1 parent 72a4c7d commit 892521a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
python-version: "3.10"

steps:
- name: Cache atlases
uses: actions/cache@v3
with:
path: | # ensure we don't cache any interrupted atlas download and extraction, if e.g. we cancel the workflow manually
~/.brainglobe
!~/.brainglobe/atlas.tar.gz
key: brainglobe
- name: install HDF libs on ARM Mac
if: matrix.os == 'macos-latest'
run: brew install hdf5
Expand Down

0 comments on commit 892521a

Please sign in to comment.