Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-sahin committed Aug 4, 2023
1 parent 2673bd2 commit 6b93864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/scripts/test_cml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ echo "Installing CP version"

if [ "$CP_VERSION" == "last" ]
then
poetry run python -m pip install -U --pre "concrete-python" --no-deps
poetry run python -m pip install -U --pre "concrete-python"
elif [ "$CP_VERSION" == "wheel" ]
then
poetry run python -m pip install ${WHEEL} --no-deps
poetry run python -m pip install ${WHEEL}
elif [ "$CP_VERSION" == "current" ]
then
echo "Fix me: how to install the current CP, ie the one in the current directory"
echo "That must be some: pip -e ."
exit 255
else
poetry run python -m pip install -U --pre "concrete-python==${CP_VERSION}" --no-deps
poetry run python -m pip install -U --pre "concrete-python==${CP_VERSION}"
fi

INSTALLED_CP=`pip freeze | grep "concrete-python"`
Expand All @@ -193,6 +193,6 @@ else
# No coverage
# Stop at first error
echo "poetry run pytest -xsvv -n 4 --randomly-dont-reorganize --randomly-dont-reset-seed"
poetry run pytest -xsvv -n 4 --randomly-dont-reorganize --randomly-dont-reset-seed
poetry run pytest ./tests -xsvv -n 4 --randomly-dont-reorganize --randomly-dont-reset-seed --ignore "tests/parameter_search/test_p_error_binary_search.py" --ignore "ests/torch/test_hybrid_converter.py"

fi

0 comments on commit 6b93864

Please sign in to comment.