mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Fix env install package.
parent
255f7302ea
commit
bb27d4ec20
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue