From bb27d4ec20b37c42efa3d9fef685e4ba119bc92a Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Wed, 11 Oct 2023 16:26:43 +0200 Subject: [PATCH] ci: Fix env install package. --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c84edb9..44dbf103 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,6 +116,7 @@ build-developers-doc: - python3 -m venv doc-venv - . doc-venv/bin/activate - pip3 install -r ../requirements.txt + - pip3 install -U -r ../requirements.txt - pip3 install pdoc3 - pdoc --html . # Create archive @@ -152,6 +153,7 @@ build-linux: # Setup virtual env - python3 -m venv linux-venv - . linux-venv/bin/activate + - pip3 install -r ../requirements.txt - pip3 install -U -r ../requirements.txt # Run Pyinstaller - pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py @@ -222,6 +224,7 @@ build-windows: - mkdir windows - cd windows # Setup env + - python -m pip install -r ..\requirements.txt - python -m pip install -U -r ..\requirements.txt # Run Pyinstaller - pyinstaller -y ..\src\pamhyr.py @@ -251,8 +254,9 @@ test-pep8: # Setup virtual env - python3 -m venv venv - . venv/bin/activate + - pip3 install -r ../requirements.txt - pip3 install -U -r ../requirements.txt - - pip3 install -U pycodestyle + - pip3 install pycodestyle - pycodestyle ../src allow_failure: true -- GitLab