Skip to content

Commit

Permalink
Cache atlases in CI for brainmapper tests (#101)
Browse files Browse the repository at this point in the history
* cache atlases in before brainmapper tests

* missing double quotes

* allow win runners to save or restore cache that has been saved or restored on other platforms
  • Loading branch information
sfmig authored May 1, 2024
1 parent 34b07ec commit 78b6a1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ jobs:
with:
path: "~/.cellfinder"
key: models-${{ hashFiles('~/.cellfinder/**') }}
# Cache atlases
- name: Cache atlases
uses: actions/cache@v3
with:
path: "~/.brainglobe"
key: atlases
fail-on-cache-miss: true
enableCrossOsArchive: true
# install additional Macos dependencies
- name: install HDF5 libraries (needed on M1 Macs only)
if: matrix.os == 'macos-latest'
Expand Down

0 comments on commit 78b6a1c

Please sign in to comment.