29 lines
507 B
YAML
29 lines
507 B
YAML
|
pipeline:
|
||
|
flake8:
|
||
|
group: lint
|
||
|
image: python:${PYTHON_VERSION}
|
||
|
commands:
|
||
|
- pip3 install flake8
|
||
|
- make flake8
|
||
|
mypy:
|
||
|
group: lint
|
||
|
image: python:${PYTHON_VERSION}
|
||
|
commands:
|
||
|
- pip3 install mypy
|
||
|
- make mypy
|
||
|
black:
|
||
|
group: lint
|
||
|
image: pyfound/black:22.8.0
|
||
|
commands:
|
||
|
- black --check opdb/
|
||
|
test:
|
||
|
image: python:${PYTHON_VERSION}
|
||
|
commands:
|
||
|
- pip3 install . pytest
|
||
|
- make pytest
|
||
|
|
||
|
matrix:
|
||
|
PYTHON_VERSION:
|
||
|
- 3.7
|
||
|
- 3.10
|