20 lines
656 B
YAML
20 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
|