Skip to content

Commit

Permalink
cache data
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Nov 29, 2022
1 parent 83469e4 commit 3ccc92d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ jobs:
env:
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
CRDS_PATH: ${{ env.CRDS_PATH }}
- uses: actions/cache@v3
if: matrix.data != ''
with:
path: 'tests/data/'
key: data-${{ hashFiles('tests/data/*') }}
- run: cd ${{ matrix.package }} && ${{ matrix.pre_command }} pytest -n auto ${{ matrix.pytest_args }} ${{ matrix.test_directory }}
env:
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
Expand Down

0 comments on commit 3ccc92d

Please sign in to comment.