test-woodpecker-python/.woodpecker/build.yaml
phil 1e6de033a2
Some checks failed
ci/woodpecker/push/build Pipeline failed
GG
2025-06-21 17:52:00 +02:00

30 lines
745 B
YAML

when:
- event: push
branch: main
- event: manual
steps:
sync:
image: ghcr.io/astral-sh/uv:python3.13-alpine
volumes:
- uv-cache:/uv-cache
environment:
UV_CACHE_DIR: /uv-cache
UV_LINK_MODE: copy
commands:
- uv sync
test:
#image: ghcr.io/astral-sh/uv:alpine
image: ghcr.io/astral-sh/uv:python3.13-alpine
commands:
- .venv/bin/pytest -s test/basic.py
build:
image: ghcr.io/astral-sh/uv:alpine
commands:
- uv build --wheel
- ls -l dist
podman-privileged-test:
image: quay.io/podman/stable
commands:
- echo From https://docs.gitlab.com/runner/executors/kubernetes/use_podman_with_kubernetes/
- podman build . -t playground-bis:testing