Trust lists
This commit is contained in:
parent
ddec254a99
commit
d136f37b5f
9 changed files with 332 additions and 9 deletions
|
|
@ -15,6 +15,7 @@ stages:
|
|||
- publish
|
||||
|
||||
test:
|
||||
stage: test
|
||||
# image: python313
|
||||
# image:
|
||||
# name: ghcr.io/astral-sh/uv:$UV_VERSION
|
||||
|
|
@ -24,7 +25,15 @@ test:
|
|||
- uv sync --frozen
|
||||
- source .venv/bin/activate
|
||||
- python unittests.py
|
||||
pubish:
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
when: never
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
when: never # Prevent pipeline run for push event
|
||||
- when: on_success
|
||||
needs:
|
||||
- test
|
||||
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue