workflow: name: 'Trust Cafe API Wrapper testing pipeline' variables: UV_VERSION: "0.11.2" PYTHON_VERSION: "3.13" BASE_LAYER: trixie-slim # BASE_LAYER: ubuntu:24.04 # GitLab CI creates a separate mountpoint for the build directory, # so we need to copy instead of using hard links. UV_LINK_MODE: copy stages: - test - publish test: # image: python313 # image: # name: ghcr.io/astral-sh/uv:$UV_VERSION # entrypoint: [""] image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - uv sync --frozen - source .venv/bin/activate - python unittests.py pubish: needs: - test image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - uv build - uv publish