From d307de3406df2813a070c6b2859214fb43a4ed2d Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Mon, 24 Oct 2022 11:55:46 -0400 Subject: [PATCH] cache data --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d7d66a9..37960e0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -208,6 +208,11 @@ jobs: CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }} WEBBPSF_PATH: ${{ env.DATA_DIRECTORY }}/webbpsf-data working-directory: ${{ matrix.package }} + - if: matrix.data != '' + uses: actions/cache@v3 + with: + path: 'tests/data/' + key: data-${{ hashFiles('tests/data/*') }} smoke_tests: name: ${{ matrix.package }} (${{ matrix.runs-on }}, Python ${{ matrix.python-version }}) needs: [ build ]