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