mirror of https://gitlab.com/pamhyr/pamhyr2
tests: Fix test env path.
parent
afafbb0c5e
commit
d36a9cd340
|
|
@ -257,8 +257,8 @@ unittest:
|
||||||
- python3 -m venv venv
|
- python3 -m venv venv
|
||||||
- . venv/bin/activate
|
- . venv/bin/activate
|
||||||
- pip3 install -U pip
|
- pip3 install -U pip
|
||||||
- pip3 install -r ../full-requirements.txt
|
- pip3 install -r ./full-requirements.txt
|
||||||
- pip3 install -U -r ../full-requirements.txt
|
- pip3 install -U -r ./full-requirements.txt
|
||||||
- cd src
|
- cd src
|
||||||
- python3 -m unittest discover -t .
|
- python3 -m unittest discover -t .
|
||||||
|
|
||||||
|
|
@ -271,16 +271,14 @@ test-pep8:
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: unittest
|
- job: unittest
|
||||||
script:
|
script:
|
||||||
- mkdir -p pep8
|
|
||||||
- cd pep8
|
|
||||||
# Setup virtual env
|
# Setup virtual env
|
||||||
- python3 -m venv venv
|
- python3 -m venv venv
|
||||||
- . venv/bin/activate
|
- . venv/bin/activate
|
||||||
- pip3 install -U pip
|
- pip3 install -U pip
|
||||||
- pip3 install -r ../requirements.txt
|
- pip3 install -r ./requirements.txt
|
||||||
- pip3 install -U -r ../requirements.txt
|
- pip3 install -U -r ./requirements.txt
|
||||||
- pip3 install pycodestyle
|
- pip3 install pycodestyle
|
||||||
- pycodestyle ../src
|
- pycodestyle ./src
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
############
|
############
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue