diff --git a/.circleci/config.yml b/.circleci/config.yml index f106e98..b3aa771 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: steps: - checkout - restore_cache: - key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }} + key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }} - run: name: Wait for db command: dockerize -wait tcp://localhost:5432 -timeout 1m @@ -28,11 +28,13 @@ jobs: poetry config virtualenvs.create false - run: command: | + which python python -m venv ~/.virt + ls -alh ~/.virt/bin . ~/.virt/bin/activate poetry install - save_cache: - key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }} + key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }} paths: - "~/.virt" - run: