mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
22 lines
441 B
YAML
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
|