From c16596ca99efba4b3a7cab77354d9605de107710 Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Wed, 6 Mar 2024 23:21:28 +0100
Subject: [PATCH] =?UTF-8?q?ci:=20mise=20en=20cache=20des=20fichiers=20inst?=
 =?UTF-8?q?all=C3=A9s?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 196105f..d6c77a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,12 +8,19 @@ stages:
   - test
 
 install:
+  stage: install
   script:
   - apt-get update && apt-get install --no-install-recommends -y python3 python3-pip python3-selenium python3-virtualenv chromium-driver make xauth xvfb tesseract-ocr tesseract-ocr-eng tesseract-ocr-fra ocrmypdf
   - ln -s /usr/bin/python3 /usr/bin/python
   - virtualenv --python=/usr/bin/python3 .
   - source bin/activate
   - pip3 install -r requirements.txt
+  cache:
+    key: $CI_COMMIT_REF_SLUG
+    paths:
+      - bin/
+      - lib/
+      - pyvenv.cfg
 
 test_ppparis:
   stage: test
-- 
GitLab