30 lines
673 B
YAML
30 lines
673 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
|
|
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
|