Skip to content

Commit 2dd52a6

Browse files
committed
tests: cache sample files
1 parent 61f8d43 commit 2dd52a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tox_matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
id: cache_samples
4949
uses: actions/cache@v4
5050
with:
51-
path: "${{ github.workspace }}"
51+
path: "${{ github.workspace }}/sampledata/"
5252
key: sample-images
5353
- name: download sample files
5454
if: steps.cache_samples.outputs.cache-hit != 'true'
55-
run: curl -L https://nexus.library.illinois.edu/repository/sample-data/images/sample_images.tar.gz -o "${{ github.workspace }}/sample_images.tar.gz"
55+
run: curl -L https://nexus.library.illinois.edu/repository/sample-data/images/sample_images.tar.gz --create-dirs -o "${{ github.workspace }}/sampledata/sample_images.tar.gz"
5656
- uses: actions/setup-python@v5
5757
with:
5858
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)