mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
tests: Fix test env path.
This commit is contained in:
1 parent
afafbb0c5e
commit
d36a9cd340
1 file changed
+5
-7
+5
-7
@@ -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
|
||||||
|
|
||||||
############
|
############
|
||||||
|
|||||||
Reference in new issue
Block a user