Skip to content

Commit

Permalink
cache data
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Feb 7, 2023
1 parent f51ddff commit 3f9fb81
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 @@ -208,6 +208,11 @@ jobs:
with:
path: ${{ env.CRDS_PATH }}
key: crds-${{ matrix.package }}-${{ steps.crds-context.outputs.context }}
- if: matrix.data != ''
uses: actions/cache@v3
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 3f9fb81

Please sign in to comment.