From 4f14965ba1567082fbdd11adb456c7a6f59b8191 Mon Sep 17 00:00:00 2001 From: Simon Little Date: Wed, 1 Apr 2026 20:51:21 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52a57d0..d2f4bce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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