Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-spectrometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech
python-spectrometer
Merge requests
!26
Use uv in CI
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
Use uv in CI
ci/uv-pip
into
main
Overview
8
Commits
10
Pipelines
14
Changes
2
All threads resolved!
Hide all comments
Closed
Tobias Hangleiter
requested to merge
ci/uv-pip
into
main
1 year ago
Overview
8
Commits
10
Pipelines
14
Changes
2
All threads resolved!
Hide all comments
0
0
Merge request reports
Compare
main
version 6
a76c6722
1 year ago
version 5
00a13c63
1 year ago
version 4
6d25f1db
1 year ago
version 3
b5f2ee9a
1 year ago
version 2
2c8706c3
1 year ago
version 1
d9d27ba1
1 year ago
main (base)
and
latest version
latest version
c8d309cb
10 commits,
1 year ago
version 6
a76c6722
9 commits,
1 year ago
version 5
00a13c63
8 commits,
1 year ago
version 4
6d25f1db
7 commits,
1 year ago
version 3
b5f2ee9a
7 commits,
1 year ago
version 2
2c8706c3
6 commits,
1 year ago
version 1
d9d27ba1
4 commits,
1 year ago
2 files
+
16
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
.gitlab-ci.yml
+
12
−
8
View file @ c8d309cb
Show full file
@@ -3,22 +3,27 @@ image: python:3.8-slim
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
UV_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/uv"
PIP_ROOT_USER_ACTION
:
"
ignore"
cache
:
paths
:
-
.cache/pip
-
venv/
-
.cache/uv
before_script
:
-
python -m pip install virtualenv
-
python -m virtualenv venv
-
source venv/bin/activate
-
python -m pip install --upgrade pip
-
python -m pip install hatch
-
python -m pip install uv
-
python -m uv pip install hatch
test
:
script
:
-
python -m hatch run tests:run
artifacts
:
when
:
always
paths
:
-
pytest_report.xml
reports
:
junit
:
pytest_report.xml
build
:
script
:
@@ -44,8 +49,7 @@ pypi:
-
job
:
"
build"
artifacts
:
true
script
:
-
pip install -U twine
-
twine upload -u "$TWINE_USERNAME" -p "$TWINE_PASSWORD" dist/*
-
python -m hatch publish -y
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d{4}\.\d{1,2}\.\d{1,2}$/'
# Always publish tagged commits matching CalVer
Loading