1
0
Fork 0
menu/.build.yml

27 lines
506 B
YAML
Raw Permalink Normal View History

2024-09-08 11:43:21 +00:00
image: alpine/3.20
packages:
- python3
- py3-virtualenv
- py3-mypy
- py3-flake8
- sdl2-dev
- python3-dev
- gcc
tasks:
- venv: |-
cd menu
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# - mypy: |-
# cd menu
# source .venv/bin/activate
# mypy --check-untyped-defs *.py
- flake8: |-
cd menu
source .venv/bin/activate
flake8 --max-line-length=200 *.py
- test: |-
cd menu
source .venv/bin/activate
python3 tests.py