ftest-common-py/.woodpecker.yml

20 lines
656 B
YAML
Raw Normal View History

2024-06-09 17:12:51 +05:30
steps:
standardize:
image: python:3.13-bookworm
2024-06-09 17:12:51 +05:30
commands:
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install pylint flake8 mypy>=0.971
- python -m flake8 ftest_common/* --count --select=E9,F63,F7,F82 --show-source --statistics
# - python -m pylint -f parseable ftest_common/*.py
# - mypy --strict ftest/
build:
image: python:3.13-bookworm
2024-06-09 17:12:51 +05:30
commands:
- python -m venv venv
- /bin/bash -c "source venv/bin/activate"
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- pytest