opdb/.woodpecker.yml

34 lines
592 B
YAML

pipeline:
flake8:
group: lint
image: python:3.9
commands:
- pip3 install flake8
- make flake8
pylint:
group: lint
image: cytopia/pylint
commands:
- pylint opdb/
black:
group: lint
image: pyfound/black:22.8.0
commands:
- black --check opdb/
test-py3.9:
group: test
image: python:3.9
commands:
- pip3 install mypy .[testing]
- make mypy
- make pytest
test-py3.10:
group: test
image: python:3.10
commands:
- pip3 install mypy .[testing]
- make mypy
- make pytest