CI fix attempt

This commit is contained in:
Simon Alibert 2024-03-12 12:24:10 +01:00
parent 9d002032d1
commit f9258898ff
1 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,7 @@ jobs:
env: env:
POETRY_VERSION: 1.8.1 POETRY_VERSION: 1.8.1
DATA_DIR: tests/data DATA_DIR: tests/data
TMPDIR: ~/tmp
steps: steps:
#---------------------------------------------- #----------------------------------------------
# check-out repo and set-up python # check-out repo and set-up python
@ -69,7 +70,9 @@ jobs:
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }} key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies - name: Install dependencies
if: steps.restore-dependencies-cache.outputs.cache-hit != 'true' if: steps.restore-dependencies-cache.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root run: |
mkdir ~/tmp
poetry install --no-interaction --no-root
- name: Save cached venv - name: Save cached venv
if: | if: |
steps.restore-dependencies-cache.outputs.cache-hit != 'true' && steps.restore-dependencies-cache.outputs.cache-hit != 'true' &&