1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
before_script:
- python --version
- pip install --upgrade --upgrade-strategy=eager pip setuptools wheel
- pip install -e .[test]
.pytest:
stage: test
script:
- pytest --cov-report=term-missing --junitxml=pytest.xml
coverage: '/^TOTAL.+ ([1-9]?[0-9]%|100%)$/'
artifacts:
reports:
junit: pytest.xml
pytest:3.7:
extends: .pytest
image: python:3.7-slim-stretch
pytest:3.6:
extends: .pytest
image: python:3.6-slim-stretch
pytest:3.5:
extends: .pytest
image: python:3.5-slim-stretch
|