microblog/.build.yml

23 lines
441 B
YAML
Raw Normal View History

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