This commit is contained in:
parent
7cd64437f4
commit
9cd549d30c
|
@ -1,30 +1,25 @@
|
|||
pipeline:
|
||||
install-linters:
|
||||
image: python:${PYTHON_VERSION}
|
||||
commands:
|
||||
- pip3 install flake8 mypy black
|
||||
flake8:
|
||||
group: lint
|
||||
image: python:${PYTHON_VERSION}
|
||||
commands:
|
||||
- pip3 install flake8
|
||||
- flake8 opdb/
|
||||
mypy:
|
||||
group: lint
|
||||
image: python:${PYTHON_VERSION}
|
||||
commands:
|
||||
- pip3 install mypy
|
||||
- mypy opdb
|
||||
black:
|
||||
group: lint
|
||||
image: python:${PYTHON_VERSION}
|
||||
image: pyfound/black:22.8.0
|
||||
commands:
|
||||
- black --check opdb/
|
||||
install:
|
||||
image: python:${PYTHON_VERSION}
|
||||
commands:
|
||||
- pip3 install .
|
||||
test:
|
||||
image: python:${PYTHON_VERSION}
|
||||
commands:
|
||||
- pip3 install .
|
||||
- pytest
|
||||
|
||||
matrix:
|
||||
|
|
Loading…
Reference in New Issue