Recaching TOX environments

This commit is contained in:
Karim shoair
2024-11-06 12:50:14 +02:00
parent c30853ee2c
commit b542b5cc39
+3 -3
View File
@@ -64,10 +64,10 @@ jobs:
with:
path: .tox
# Include python version and os in cache key
key: tox-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'setup.py', 'requirements*.txt') }}
key: tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'setup.py', 'requirements*.txt') }}
restore-keys: |
tox-${{ runner.os }}-py${{ matrix.python-version }}-
tox-${{ runner.os }}-
tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-
tox-v1-${{ runner.os }}-
- name: Run tests
env: ${{ matrix.env }}