23 lines
No EOL
497 B
YAML
23 lines
No EOL
497 B
YAML
workflow:
|
|
name: 'Trust Cafe API Wrapper testing pipeline'
|
|
|
|
variables:
|
|
UV_VERSION: "0.11.2"
|
|
PYTHON_VERSION: "3.13"
|
|
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
|
|
|
|
test:
|
|
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
|
script:
|
|
- uv venv
|
|
- .venv/bin/activate
|
|
- uv sync --frozen
|
|
- python unittests.py
|
|
|
|
# Test |