Browse Source

Merge branch 'dm/ci-cache' into 'master'

Cache poetry venv

See merge request e2li/cours-python!1
master
Dimitri Merejkowsky 4 years ago
parent
commit
9239965796
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



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


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