2024-06-09 17:12:51 +05:30
|
|
|
steps:
|
|
|
|
standardize:
|
2024-10-08 06:33:29 +05:30
|
|
|
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:
|
2024-10-08 06:33:29 +05:30
|
|
|
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
|