feed2fedi/.woodpecker/checks.yml

22 lines
575 B
YAML

matrix:
PYTHON_VERSION:
- 3.11
- 3.10
- 3.9
- 3.8
pipeline:
checks:
image: python:${PYTHON_VERSION}
commands:
- python -V # Print out python version for debugging
- pip install pdm
- pdm --version # Print out python version for debugging
- pdm sync --group :all
- pdm run ruff src/
- pdm run interrogate -vv src/
- pdm run mypy src/
- pdm export --prod --format requirements --output requirements.txt
- pdm run safety check -r requirements.txt
- pdm run pip-audit -r requirements.txt