Skip to content
Extraits de code Groupes Projets
Valider 25d0e182 rédigé par Bastien Le Querrec's avatar Bastien Le Querrec
Parcourir les fichiers

ci: sépare l'installation dans un stage dédié

parent 4aecf2f9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter