Skip to content
Snippets Groups Projects
Commit 79f961df authored by Jan David Mol's avatar Jan David Mol
Browse files

Create a virtual environment before using pip install

parent 7f427628
No related tags found
1 merge request!811Create a virtual environment before using pip install
......@@ -65,6 +65,7 @@ wheel_packaging:
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
- apk add --update make bash docker-compose python3 py3-pip
- python3 -m venv venv && source venv/bin/activate
- pip install shyaml
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- touch ~/.Xauthority
......@@ -286,6 +287,7 @@ unit_test:
- apk add --update bind-tools
- apk add --update postgresql14-client gzip socat
- apk add --update python3 py3-pip
- python3 -m venv venv && source venv/bin/activate
- pip install shyaml
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- touch /root/.Xauthority
......@@ -351,6 +353,7 @@ publish_on_gitlab:
before_script:
- python3 --version
- pip --version
- python3 -m venv venv && source venv/bin/activate
- pip install twine --upgrade
script:
- echo "run twine for gitlab"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment