瀏覽代碼

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

Cache poetry venv

See merge request e2li/cours-python!1
master
Dimitri Merejkowsky 4 年之前
父節點
當前提交
9239965796
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      .gitlab-ci.yml

+ 4
- 2
.gitlab-ci.yml 查看文件

@@ -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