Skip to content

Commit 7dd9b85

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

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
ls
120120
pip install fluidimage-*.tar.gz -v --no-deps -C setup-args=-Dtransonic-backend=python
121121
122+
122123
pypi-publish:
123124
name: Upload release to PyPI
124125
if: |

.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 --no-deps -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)