Commit d36a9cd3 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

tests: Fix test env path.

Showing with 5 additions and 7 deletions
+5 -7
...@@ -257,8 +257,8 @@ unittest: ...@@ -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: ...@@ -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
############ ############
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment