Switch to sourcehut CI

This commit is contained in:
Thomas Sileo
2022-07-01 19:26:41 +02:00
parent 10be506ffa
commit 9176e38bc8
2 changed files with 13 additions and 26 deletions

View File

@@ -1,12 +1,21 @@
image: image: alpine/latest
image: alpine/edge
sources:
- https://git.sr.ht/~tsileo/microblog.pub
packages:
- python3
- python3-dev
- python3-pip
- poetry
- libxml2-dev
- libxslt-dev
- gcc
- jpeg-dev
- zlib-dev
- build-base
- libffi-dev
tasks:
- tests |
- 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