slpkg/.gitlab-ci.yml
Dimitris Zlatanidis 342e2d58be Updated pytest requirements
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2020-01-15 01:16:49 +01:00

21 lines
No EOL
345 B
YAML

image: "python:3.7"
before_script:
- python --version
- pip install -r requirements.txt
stages:
- Static Analysis
- Test
flake8:
stage: Static Analysis
script:
- flake8 --max-line-length=120 bild/*.py
unit_test:
stage: Test
script:
- export PYTHONPATH="$PYTHONPATH:."
- python -c "import sys;print(sys.path)"
- pytest