test-woodpecker-python/.woodpecker/build.yaml
phil e4dfe6862d
Some checks failed
ci/woodpecker/push/build Pipeline failed
2
2025-06-21 17:46:01 +02:00

32 lines
783 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
- ls -l .venv/bin
test:
#image: ghcr.io/astral-sh/uv:alpine
image: ghcr.io/astral-sh/uv:python3.13-alpine
commands:
- ls -l .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