microblog.pub/.build.yml

22 lines
441 B
YAML

image: ubuntu/22.10
sources:
- https://git.sr.ht/~tsileo/microblog.pub
packages:
- python3
- python3-dev
- libxml2-dev
- libxslt-dev
- gcc
- libjpeg-dev
- zlib1g-dev
- libffi-dev
- python3.10-venv
tasks:
- setup: |
curl -sSL https://install.python-poetry.org | python3 -
- tests: |
export PATH="/home/build/.local/bin:$PATH"
cd microblog.pub
poetry install --no-interaction
poetry run inv lint
poetry run inv tests