mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
change python cache version to 2 (fixes python cache in circle CI)
This commit is contained in:
committed by
Dmitry Rodionov
parent
eee0f51e0c
commit
9594362f74
@@ -228,12 +228,12 @@ jobs:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-python-deps-{{ checksum "poetry.lock" }}
|
||||
- v2-python-deps-{{ checksum "poetry.lock" }}
|
||||
- run:
|
||||
name: Install deps
|
||||
command: ./scripts/pysync
|
||||
- save_cache:
|
||||
key: v1-python-deps-{{ checksum "poetry.lock" }}
|
||||
key: v2-python-deps-{{ checksum "poetry.lock" }}
|
||||
paths:
|
||||
- /home/circleci/.cache/pypoetry/virtualenvs
|
||||
- run:
|
||||
@@ -287,12 +287,12 @@ jobs:
|
||||
- run: git submodule update --init --depth 1
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-python-deps-{{ checksum "poetry.lock" }}
|
||||
- v2-python-deps-{{ checksum "poetry.lock" }}
|
||||
- run:
|
||||
name: Install deps
|
||||
command: ./scripts/pysync
|
||||
- save_cache:
|
||||
key: v1-python-deps-{{ checksum "poetry.lock" }}
|
||||
key: v2-python-deps-{{ checksum "poetry.lock" }}
|
||||
paths:
|
||||
- /home/circleci/.cache/pypoetry/virtualenvs
|
||||
- run:
|
||||
|
||||
@@ -4,4 +4,10 @@
|
||||
# It is intended to be a primary endpoint for all the people who want to
|
||||
# just setup test environment without going into details of python package management
|
||||
|
||||
poetry install --no-root # this installs dev dependencies by default
|
||||
poetry config --list
|
||||
|
||||
if [ -z "${CI}" ]; then
|
||||
poetry install --no-root --no-interaction --ansi
|
||||
else
|
||||
poetry install --no-root
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user