diff --git a/.woodpecker/python.yaml b/.woodpecker/python.yaml index 46fe6fa..00fd85e 100644 --- a/.woodpecker/python.yaml +++ b/.woodpecker/python.yaml @@ -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: - - event: [ push, manual ] +when: + - event: [ push, manual ]