Skip to content

Commit 9045856

Browse files
committed
ci: exercise get_path_image_samples
1 parent 20a36ed commit 9045856

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,22 @@ pages:
134134
build:package:
135135
stage: build
136136
before_script:
137-
- pip install build twine packaging -U
137+
- uv tool install build
138+
- uv tool install twine
138139
script:
139140
- rm -rf dist
140141
# ugly workaround for Heptapod runners
141142
- echo appuser | sudo -S chmod a+r .hg/dirstate
142-
- python -m build -s
143+
- pyproject-build -s
143144
- ls dist
144145
- twine check --strict dist/*
146+
- uv venv /tmp/venv-fluidimage
147+
- source /tmp/venv-fluidimage/bin/activate
148+
- uv pip install dist/fluidimage-*.tar.gz -v -C setup-args=-Dtransonic-backend=python
149+
- unset CI_PROJECT_DIR
150+
- python -c "import fluidimage as fli; path = fli.get_path_image_samples(); print(path); assert 'repository' in str(path)"
151+
152+
145153
needs: []
146154
artifacts:
147155
when: always

0 commit comments

Comments
 (0)