From 62a61b13f8c92525bce5c937a65dee0424a5b130 Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Wed, 1 May 2024 11:24:47 +0200 Subject: [PATCH] Cache for cellfinder workflow tests (#102) * add cache step for cellfinder workflow tests * missing double quotes * enable cross OS archive and fail if cache misses --- .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 a5ea604f..28147296 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -64,6 +64,14 @@ jobs: if: matrix.os == 'macos-latest' run: | brew install hdf5 + # Cache cellfinder workflow data + - name: Cache data for cellfinder workflow tests + uses: actions/cache@v3 + with: + path: "~/.brainglobe-tests" + key: cellfinder-test-data + fail-on-cache-miss: true + enableCrossOsArchive: true # Run tests - uses: neuroinformatics-unit/actions/test@v2 with: