Switched CI to non-tox matrix build
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
parent
8734cdf180
commit
1a900056cf
|
@ -1,47 +1,31 @@
|
|||
matrix:
|
||||
PYTHON_VERSION:
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
- 3.9
|
||||
|
||||
pipeline:
|
||||
test-3.9:
|
||||
test:
|
||||
group: test
|
||||
image: python:3.9-alpine
|
||||
image: python:${PYTHON_VERSION}-alpine
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -e .[ci]
|
||||
- tox -e py39
|
||||
- pip install -e .[test]
|
||||
- pytest --cov=app --cov-fail-under=90 tests/
|
||||
|
||||
test-3.8:
|
||||
group: test
|
||||
image: python:3.8-alpine
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -e .[ci]
|
||||
- tox -e py38
|
||||
|
||||
test-3.7:
|
||||
group: test
|
||||
image: python:3.7-alpine
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -e .[ci]
|
||||
- tox -e py37
|
||||
|
||||
test-3.7-pypy:
|
||||
test-pypy:
|
||||
group: test
|
||||
image: pypy:3-7-slim
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -e .[ci]
|
||||
- tox -e pypy37
|
||||
|
||||
test-3.6:
|
||||
group: test
|
||||
image: python:3.6-alpine
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -e .[ci]
|
||||
- tox -e py36
|
||||
- pip install -e .[test]
|
||||
- pytest --cov=app --cov-fail-under=90 tests/
|
||||
|
||||
lint:
|
||||
image: python:3.6-alpine
|
||||
commands:
|
||||
- apk update && apk add --no-cache build-base
|
||||
- pip install -e .[ci]
|
||||
- tox -e lint
|
||||
- pip install -e .[lint]
|
||||
- black --check setup.py app
|
||||
- flake8 setup.py app
|
||||
|
|
Loading…
Reference in New Issue