Add code coverage testing to gitlab-ci
This commit is contained in:
@@ -3,13 +3,15 @@ python2.7:
|
|||||||
script:
|
script:
|
||||||
- pip install .[test]
|
- pip install .[test]
|
||||||
- pip install .
|
- pip install .
|
||||||
- python -m pytest tests/
|
- coverage run -m py.test
|
||||||
- pylint --rcfile .pylintrc -E tuir/
|
- pylint --rcfile .pylintrc -E tuir/
|
||||||
|
- coverage report
|
||||||
|
|
||||||
python3.6:
|
python3.6:
|
||||||
image: python:3.6-stretch
|
image: python:3.6-stretch
|
||||||
script:
|
script:
|
||||||
- pip install .[test]
|
- pip install .[test]
|
||||||
- pip install .
|
- pip install .
|
||||||
- python -m pytest tests/
|
- coverage run -m py.test
|
||||||
- pylint --rcfile .pylintrc -E tuir/
|
- pylint --rcfile .pylintrc -E tuir/
|
||||||
|
- coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user