Browse Source

Cache poetry venv

master
Dimitri Merejkowsky 4 years ago
parent
commit
572ddc42e5
No known key found for this signature in database GPG Key ID: 6BF3C7EA7C2D64EC
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      .gitlab-ci.yml

+ 4
- 2
.gitlab-ci.yml View File

@@ -1,9 +1,8 @@
image: python:latest image: python:latest




before_script: before_script:
- pip install poetry - pip install poetry
- poetry config virtualenvs.in-project = true




pages: pages:
@@ -15,5 +14,8 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
cache:
paths:
- cours/.venv
only: only:
- master - master