From 78b6a1c5bbdb3d45434cc494f4b0479e5c51d5e0 Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Wed, 1 May 2024 11:21:13 +0200 Subject: [PATCH] Cache atlases in CI for brainmapper tests (#101) * 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 --- .github/workflows/test_and_deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index e8951731..a5ea604f 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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'