Update .gitlab-ci.yml
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
|
image: "python:3.7"
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- python --version
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- apt-get update -qy
|
|
||||||
- apt-get install -y python3-dev python3-pip
|
|
||||||
- pip install -r requirements.txt
|
|
||||||
- pytest tests --cov --cov-report term --cov-report html
|
- pytest tests --cov --cov-report term --cov-report html
|
||||||
Reference in New Issue
Block a user