diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 5e46ab07..0f6215c0 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -38,6 +38,14 @@ jobs: python-version: "3.9" 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 + - uses: neuroinformatics-unit/actions/test@v2 with: python-version: ${{ matrix.python-version }}