opdb/.woodpecker.yml

29 lines
496 B
YAML

pipeline:
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: pyfound/black:22.8.0
commands:
- black --check opdb/
test:
image: python:${PYTHON_VERSION}
commands:
- pip3 install .
- pytest
matrix:
PYTHON_VERSION:
- 3.7
- 3.10