Skip to content

Commit 9854084

Browse files
djbyrneBorda
andauthored
Caching MNIST dataset for testing (#917)
* Caching MNIST dataset for testing * Added MNIST datset to the tests directory * Caches dataset based off hash of the test.pt file * Cleaned Up yml file * Cleaned Up yml file * Removed MNIST Data from framework * Set cache key for dataset to 'mnist' * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Jirka Borovec <[email protected]>
1 parent ceec51d commit 9854084

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci-testing.yml

+7
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ jobs:
3737
${{ runner.os }}-pip-${{ matrix.python-version }}-
3838
${{ runner.os }}-${{ matrix.python-version }}-
3939
40+
- name: Cache datasets
41+
uses: actions/cache@v1
42+
with:
43+
path: tests/models/mnist # This path is specific to Ubuntu
44+
# Look to see if there is a cache hit for the corresponding requirements file
45+
key: mnist-dataset
46+
4047
- name: Install dependencies
4148
run: |
4249
# python -m pip install --upgrade --user pip

0 commit comments

Comments
 (0)