1
0
mirror of https://gitlab.com/MisterBiggs/testing-framework-comparison.git synced 2025-06-15 08:56:40 +00:00
2025-05-16 14:36:07 -06:00

15 lines
406 B
YAML

variables:
UV_VERSION: 0.5
PYTHON_VERSION: 3.12
BASE_LAYER: bookworm-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
pytest:
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
script:
- uv run pytest --junitxml=junit.xml
artifacts:
reports:
junit: junit.xml