Update .gitlab-ci.yml file

This commit is contained in:
Simon Little 2026-04-01 20:51:21 +00:00
parent 29e0449ff4
commit 4f14965ba1

View file

@ -1,10 +1,19 @@
workflow:
name: 'Trust Cafe API Wrapper testing pipeline'
variables:
UV_VERSION: "0.11.2"
PYTHON_VERSION: "3.12"
BASE_LAYER: trixie-slim
# 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
test:
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
script:
- uv sync
- python unittests.py