Skip to content

Commit d307de3

Browse files
cache data
1 parent efbbafc commit d307de3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ jobs:
208208
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
209209
WEBBPSF_PATH: ${{ env.DATA_DIRECTORY }}/webbpsf-data
210210
working-directory: ${{ matrix.package }}
211+
- if: matrix.data != ''
212+
uses: actions/cache@v3
213+
with:
214+
path: 'tests/data/'
215+
key: data-${{ hashFiles('tests/data/*') }}
211216
smoke_tests:
212217
name: ${{ matrix.package }} (${{ matrix.runs-on }}, Python ${{ matrix.python-version }})
213218
needs: [ build ]

0 commit comments

Comments
 (0)