Update .gitlab-ci.yml file
This commit is contained in:
parent
f88de521c4
commit
e1b1ad9924
1 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,8 @@ workflow:
|
||||||
variables:
|
variables:
|
||||||
UV_VERSION: "0.11.2"
|
UV_VERSION: "0.11.2"
|
||||||
PYTHON_VERSION: "3.13"
|
PYTHON_VERSION: "3.13"
|
||||||
BASE_LAYER: ubuntu:24.04
|
BASE_LAYER: trixie-slim
|
||||||
|
# BASE_LAYER: ubuntu:24.04
|
||||||
# GitLab CI creates a separate mountpoint for the build directory,
|
# GitLab CI creates a separate mountpoint for the build directory,
|
||||||
# so we need to copy instead of using hard links.
|
# so we need to copy instead of using hard links.
|
||||||
UV_LINK_MODE: copy
|
UV_LINK_MODE: copy
|
||||||
|
|
@ -13,7 +14,8 @@ stages:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
name: ghcr.io/astral-sh/uv:0.10.8
|
||||||
|
# image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
||||||
script:
|
script:
|
||||||
- uv sync --frozen
|
- uv sync --frozen
|
||||||
- python unittests.py
|
- python unittests.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue