Skip to content

Commit

Permalink
cache data
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Mar 3, 2023
1 parent 77ff398 commit d7f2cd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,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: run `${{ matrix.package }}` smoke tests in Python ${{ matrix.python-version }} environment on ${{ matrix.runs-on }}
needs: [ build ]
Expand Down

0 comments on commit d7f2cd1

Please sign in to comment.