Skip to content

Commit 10af378

Browse files
committed
Switch to pipx for uv installation
Signed-off-by: Thomas <[email protected]>
1 parent 2e63e96 commit 10af378

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stages:
2727
build-python-package:
2828
stage: build
2929
before_script:
30-
- pip install uv
30+
- pipx install uv
3131
script:
3232
- tools/build-package.sh
3333
artifacts:
@@ -38,7 +38,7 @@ build-python-package:
3838
build-documentation:
3939
stage: build
4040
before_script:
41-
- pip install uv
41+
- pipx install uv
4242
script:
4343
- tools/build-docs.sh
4444
artifacts:
@@ -48,7 +48,7 @@ build-documentation:
4848
test-python-package:
4949
stage: test
5050
before_script:
51-
- pip install uv
51+
- pipx install uv
5252
script:
5353
- tools/test-package.sh
5454
coverage: '/TOTAL.*\s+(\d+%)$/'
@@ -62,7 +62,7 @@ test-python-package:
6262
lint-python-package:
6363
stage: test
6464
before_script:
65-
- pip install uv
65+
- pipx install uv
6666
script:
6767
- uv run --all-extras flake8 src/python_training_project --format gl-codeclimate --output-file gl-code-quality-report.json
6868
artifacts:
@@ -79,7 +79,7 @@ additional-mr-checks:
7979
deploy-python-package:
8080
stage: deploy
8181
before_script:
82-
- pip install uv
82+
- pipx install uv
8383
variables:
8484
UV_PUBLISH_URL: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
8585
UV_PUBLISH_USERNAME: gitlab-ci-token

0 commit comments

Comments
 (0)