ftest-common-py/.woodpecker.yml
Aravinth Manivannan 975c1e7e9a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline failed
feat: CI: init
2024-06-09 17:19:22 +05:30

19 lines
656 B
YAML

steps:
standardize:
image: python:3.12-bookworm
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.12-bookworm
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