From 25d0e18291545037d122274567589a579a30852d Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Wed, 6 Mar 2024 22:50:05 +0100
Subject: [PATCH] =?UTF-8?q?ci:=20s=C3=A9pare=20l'installation=20dans=20un?=
 =?UTF-8?q?=20stage=20d=C3=A9di=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7fe64d4..e784936 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,13 +3,19 @@ image: debian:trixie
 variables:
   DEBIAN_FRONTEND: noninteractive
 
-build:
-  before_script:
+stages:
+  - install
+  - test
+
+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
+
+test:
   script:
   - source bin/activate
   - make
-- 
GitLab