Skip to content

Commit

Permalink
override install_run
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenkov committed Feb 26, 2022
1 parent f57d1d6 commit 8b7691a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,15 @@ function run_tests {
pytest -rfxEXs --durations=20 --disable-warnings --showlocals --pyargs gensim
set +x
}

function install_run {
#
# Overrides a function by the same name in multibuild/common_util.sh.
# We do it here because we want to upgrade pip before installing the wheel.
#
pip install --upgrade pip setuptools
install_wheel
mkdir tmp_for_test
(cd tmp_for_test && run_tests)
rmdir tmp_for_test 2>/dev/null || echo "Cannot remove tmp_for_test"
}

0 comments on commit 8b7691a

Please sign in to comment.