Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions template/.gitlab-ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ type-check:
stage: test
image: python:{{ python_version }}-slim
before_script:
# pyright ships its own Node, which needs libatomic at runtime — absent
# from the slim image ("libatomic.so.1: cannot open shared object file").
- apt-get update && apt-get install -y --no-install-recommends libatomic1
- pip install uv
- uv sync --dev
script:
Expand Down Expand Up @@ -69,6 +72,8 @@ build:
renovate:
stage: maintenance
image: renovate/renovate:latest
# Don't gate maintenance on the project's own test stage.
needs: []
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
variables:
Expand Down Expand Up @@ -99,6 +104,9 @@ copier-update:
stage: maintenance
image: python:{{ python_version }}-slim
interruptible: true
# Run independently of the test stage — a template sync shouldn't be blocked
# by the project's own tests failing.
needs: []
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
variables:
Expand Down