File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ jobs:
190190 PYTEST_XDIST_AUTO_NUM_WORKERS : 2
191191 run : pdm run test -m 'slow'
192192 install-poetry :
193- name : " Check if wheel is able to be installed using Poetry "
193+ name : " Check if wheel is able to be installed using PDM "
194194 runs-on : ubuntu-latest
195195 steps :
196196 - name : Checkout code
@@ -216,4 +216,31 @@ jobs:
216216 cd ./install-run
217217 sed -i 's/^\(python *= *\).*$/\1">=3.10,<3.12"/' pyproject.toml
218218 poetry add "$(ls ../dist/*.whl)"
219+ poetry run python -c "import giskard"
220+ install-pdm :
221+ name : " Check if wheel is able to be installed using Poetry"
222+ runs-on : ubuntu-latest
223+ steps :
224+ - name : Checkout code
225+ 226+ - name : Setup PDM
227+ uses : pdm-project/setup-pdm@v3
228+ with :
229+ python-version : ' 3.10'
230+ cache : false
231+ - name : Build wheel
232+ run : pdm build
233+ - name : Create new project, install wheel and import
234+ run : |
235+ mkdir ./install-run
236+ cd ./install-run
237+ pdm init --python 3.10 -n .
238+ pdm add "$(ls ../dist/*.whl)"
239+ poetry run python -c "import giskard"
240+ - name : Create new project, install wheel (server)
241+ run : |
242+ mkdir ./install-test
243+ cd ./install-test
244+ pdm init --python 3.10 -n .
245+ pdm add "$(ls ../dist/*.whl)[server]"
219246 poetry run python -c "import giskard"
You can’t perform that action at this time.
0 commit comments