ci: python pipeline splitted

This commit is contained in:
Piotr Dec 2026-07-12 23:02:18 +02:00
parent 86e7d4b8c3
commit d61602cb78
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0

View file

@ -1,10 +1,17 @@
steps:
- name: test
- name: prepare
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
commands:
- apk add --no-cache gcc python3-dev musl-dev linux-headers
- uv sync
- name: test
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
commands:
- uv sync --group dev
- python -m pytest
- name: test-run
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
commands:
- |
python src/karl/__init__.py 2>&1 | while IFS= read -r line; do
echo "$line"
@ -13,5 +20,5 @@ steps:
break
fi
done
when:
when:
- event: [ push, manual ]