test-woodpecker-python/.woodpecker/build.yaml
phil 415ab4f05b
Some checks failed
ci/woodpecker/push/build Pipeline failed
t
2025-06-21 16:08:03 +02:00

31 lines
724 B
YAML

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