Don't cache the deps.
This commit is contained in:
parent
6bcff72c4e
commit
ad386286bc
|
@ -25,13 +25,5 @@ jobs:
|
||||||
version: 1.2.1
|
version: 1.2.1
|
||||||
virtualenvs-create: true
|
virtualenvs-create: true
|
||||||
virtualenvs-in-project: true
|
virtualenvs-in-project: true
|
||||||
- name: cache deps
|
|
||||||
id: cache-deps
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .venv
|
|
||||||
key: pydeps-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
|
||||||
- run: poetry install --no-interaction --no-root
|
|
||||||
if: steps.cache-deps.outputs.cache-hit != 'true'
|
|
||||||
- run: poetry install --no-interaction
|
- run: poetry install --no-interaction
|
||||||
- run: poetry run pytest
|
- run: poetry run pytest
|
||||||
|
|
Loading…
Reference in New Issue