diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 196105fd5fc139bf229e3d77f625e08726d1dc65..d6c77a108dc33c2db8681682e844906ed6da2424 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