Merge branch 'main' of https://gitlab.com/trustcafe/trustcafe-api-wrapper
This commit is contained in:
commit
33dafdfadc
1 changed files with 6 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
|
@ -13,11 +14,14 @@ stages:
|
|||
- test
|
||||
|
||||
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 venv
|
||||
- .venv/bin/activate
|
||||
- uv sync --frozen
|
||||
- uv add requests
|
||||
- python unittests.py
|
||||
|
||||
# Test
|
||||
Loading…
Add table
Add a link
Reference in a new issue