ops: Cache keys adjustment for tests
This commit is contained in:
@@ -44,7 +44,6 @@ jobs:
|
|||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
pyproject.toml
|
pyproject.toml
|
||||||
requirements*.txt
|
|
||||||
tox.ini
|
tox.ini
|
||||||
|
|
||||||
# Install browsers ONCE at the workflow level
|
# Install browsers ONCE at the workflow level
|
||||||
@@ -64,8 +63,8 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: .tox
|
path: .tox
|
||||||
# Include python version and os in cache key
|
# Include python version and os in the cache key
|
||||||
key: tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'pyproject.toml', 'requirements*.txt') }}
|
key: tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'pyproject.toml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-
|
tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-
|
||||||
tox-v1-${{ runner.os }}-
|
tox-v1-${{ runner.os }}-
|
||||||
|
|||||||
Reference in New Issue
Block a user