2022-07-01 12:26:41 -05:00
|
|
|
image: alpine/edge
|
2022-07-01 11:46:20 -05:00
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~tsileo/microblog.pub
|
|
|
|
packages:
|
2022-07-01 12:26:41 -05:00
|
|
|
- python3
|
2022-07-01 11:46:20 -05:00
|
|
|
- python3-dev
|
2022-07-01 12:26:41 -05:00
|
|
|
- libxml2-dev
|
|
|
|
- libxslt-dev
|
|
|
|
- gcc
|
|
|
|
- jpeg-dev
|
|
|
|
- zlib-dev
|
|
|
|
- build-base
|
|
|
|
- libffi-dev
|
2022-07-01 11:46:20 -05:00
|
|
|
tasks:
|
2022-07-01 12:26:41 -05:00
|
|
|
- setup: |
|
|
|
|
curl -sSL https://install.python-poetry.org | python3 -
|
|
|
|
- tests: |
|
|
|
|
export PATH="/home/build/.local/bin:$PATH"
|
2022-07-01 11:46:20 -05:00
|
|
|
cd microblog.pub
|
|
|
|
poetry install --no-interaction
|
|
|
|
poetry run inv lint
|
|
|
|
poetry run inv tests
|