Skip to content

Commit

Permalink
Pin poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
djrobstep committed Sep 18, 2022
1 parent 6db03eb commit 13f62b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 13f62b5

Please sign in to comment.