Add poetry cache
This commit is contained in:
parent
9d4ac5fa1d
commit
e6c12a9a38
1 changed files with 2 additions and 0 deletions
|
@ -29,10 +29,12 @@ pip:
|
|||
key: pip-$CI_COMMIT_REF_SLUG
|
||||
paths:
|
||||
- "$CI_PROJECT_DIR/.pip-cache"
|
||||
- "$CI_PROJECT_DIR/.poetry-cache"
|
||||
before_script:
|
||||
- apt-get update --yes
|
||||
- apt-get install --yes build-essential libpq-dev git
|
||||
- pip install poetry==1.2.0
|
||||
- poetry config cache-dir $CI_PROJECT_DIR/.poetry-cache
|
||||
script:
|
||||
- python -m venv env
|
||||
- source env/bin/activate
|
||||
|
|
Loading…
Reference in a new issue