Skip to content

Commit 9603420

Browse files
authored
Add cache for tests (#716)
1 parent 0870a01 commit 9603420

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ jobs:
3131
python-version: ${{ matrix.python-version }}
3232
auto-update-conda: true
3333

34+
- name: Cache PyTensor NUMBA compilation artifacts
35+
uses: actions/cache@v4
36+
with:
37+
path: ~/.pytensor/numba/
38+
key: pytensor-numba-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt', 'pyproject.toml') }}
39+
restore-keys: |
40+
pytensor-numba-${{ runner.os }}-py${{ matrix.python-version }}-
41+
3442
- name: Install preliz
3543
shell: bash -l {0}
3644
run: |

0 commit comments

Comments
 (0)