diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad2103b..1776d71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}