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

ci: reinstallation des dépendances système entre les jobs

parent c16596ca
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -9,9 +9,10 @@ stages:
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
before_script:
- apt-get update && apt-get install --no-install-recommends -y python3 python3-virtualenv
- ln -s /usr/bin/python3 /usr/bin/python
script:
- virtualenv --python=/usr/bin/python3 .
- source bin/activate
- pip3 install -r requirements.txt
......@@ -25,9 +26,12 @@ install:
test_ppparis:
stage: test
needs: [install]
before_script:
- apt-get update && apt-get install --no-install-recommends -y python3 python3-virtualenv chromium-driver make xauth xvfb tesseract-ocr tesseract-ocr-eng tesseract-ocr-fra ocrmypdf
- ln -s /usr/bin/python3 /usr/bin/python
script:
- source bin/activate
- python3 ./ppparis.py
- python ./ppparis.py
only:
- main
cache:
......
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