Update .gitlab-ci.yml file
This commit is contained in:
parent
29e0449ff4
commit
4f14965ba1
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue