From 7fef11c43556b90b7bbec7c16363a6ca3ed4b575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire?= <gregoire.kubler@proton.me> Date: Tue, 17 Sep 2024 14:45:19 +0200 Subject: [PATCH] feat : added changes proposed by cguillon https://gitlab.eclipse.org/eclipse/aidge/aidge_onnx/-/merge_requests/64#note_2821552 --- .gitlab/ci/release/pip.gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab/ci/release/pip.gitlab-ci.yml b/.gitlab/ci/release/pip.gitlab-ci.yml index f0c8783..50cff3c 100644 --- a/.gitlab/ci/release/pip.gitlab-ci.yml +++ b/.gitlab/ci/release/pip.gitlab-ci.yml @@ -23,16 +23,12 @@ release:pip:ubuntu: - echo "TESTING CREATED WHEEL" - echo "Installing dependenices" - python -m pip install pytest - - > - if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then - python3 -m pip install requests - fi - export WHEELS=$(find wheelhouse/ -name "$CI_PROJECT_NAME*.whl") - echo "Reinstalling each found wheels = ${WHEELS}" - > for wheel in $WHEELS; do # not sure if a for loop is needed here but just in case multiple wheels are found - python -m pip install --force-reinstall $wheel + python -m pip install --force-reinstall $wheel[test] python -m pip list cd $CI_PROJECT_NAME # entering package so python doesn't import local package and in python -m pytest unit_tests/* -- GitLab