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: ...@@ -9,9 +9,10 @@ stages:
install: install:
stage: install stage: install
script: before_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 - apt-get update && apt-get install --no-install-recommends -y python3 python3-virtualenv
- ln -s /usr/bin/python3 /usr/bin/python - ln -s /usr/bin/python3 /usr/bin/python
script:
- virtualenv --python=/usr/bin/python3 . - virtualenv --python=/usr/bin/python3 .
- source bin/activate - source bin/activate
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
...@@ -25,9 +26,12 @@ install: ...@@ -25,9 +26,12 @@ install:
test_ppparis: test_ppparis:
stage: test stage: test
needs: [install] 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: script:
- source bin/activate - source bin/activate
- python3 ./ppparis.py - python ./ppparis.py
only: only:
- main - main
cache: 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