spec cache

This commit is contained in:
J. Borovec
2020-04-26 21:11:47 +02:00
parent f8a5defa98
commit 9f52e00bb4
+9 -9
View File
@@ -67,15 +67,8 @@ jobs:
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-${{ matrix.python-version }}-
- name: Cache datasets
uses: actions/cache@v1
with:
path: tests/Datasets # This path is specific to Ubuntu
# Look to see if there is a cache hit for the corresponding requirements file
key: mnist-dataset
${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
- name: Install dependencies
run: |
@@ -88,6 +81,13 @@ jobs:
pip list
shell: bash
- name: Cache datasets
uses: actions/cache@v1
with:
path: tests/Datasets # This path is specific to Ubuntu
# Look to see if there is a cache hit for the corresponding requirements file
key: mnist-dataset
- name: Tests
# env:
# TOXENV: py${{ matrix.python-version }}