gitlab-ci: Run unit tests with 'tox'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/323/head
parent
95e22aab4d
commit
6887da3789
|
@ -43,10 +43,10 @@ build3:
|
|||
test:
|
||||
stage: test
|
||||
image: python:2.7
|
||||
before_script:
|
||||
- pip install tox
|
||||
script:
|
||||
- pip install --no-cache-dir --no-deps -r requirements-dev.txt
|
||||
- cp env-dist .env
|
||||
- pytest
|
||||
- tox -e pytest
|
||||
docker:
|
||||
stage: deploy
|
||||
image: docker:latest
|
||||
|
|
Loading…
Reference in New Issue