mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-07 08:41:02 -07:00
ci-install: Install scipy/numpy in github regression test case environment
This is in preparation for enhanced load_cell test cases which require these packages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8be004401e
commit
bb96318725
2 changed files with 9 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ echo -e "\n\n=============== Install python3 virtualenv\n\n"
|
|||
cd ${MAIN_DIR}
|
||||
virtualenv -p python3 ${BUILD_DIR}/python-env
|
||||
${BUILD_DIR}/python-env/bin/pip install -r ${MAIN_DIR}/scripts/klippy-requirements.txt
|
||||
${BUILD_DIR}/python-env/bin/pip install -r ${MAIN_DIR}/scripts/tests-requirements.txt
|
||||
|
||||
|
||||
######################################################################
|
||||
|
|
@ -71,3 +72,4 @@ echo -e "\n\n=============== Install python2 virtualenv\n\n"
|
|||
cd ${MAIN_DIR}
|
||||
virtualenv -p python2 ${BUILD_DIR}/python2-env
|
||||
${BUILD_DIR}/python2-env/bin/pip install -r ${MAIN_DIR}/scripts/klippy-requirements.txt
|
||||
${BUILD_DIR}/python2-env/bin/pip install -r ${MAIN_DIR}/scripts/tests-requirements.txt
|
||||
|
|
|
|||
7
scripts/tests-requirements.txt
Normal file
7
scripts/tests-requirements.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file describes the Python virtualenv package requirements for
|
||||
# the Klipper regression test cases. This is in addition to the
|
||||
# package requirements listed in the klippy-requirements.txt file.
|
||||
# Typically the packages listed here are installed via the command:
|
||||
# pip install -r tests-requirements.txt
|
||||
scipy==1.2.3 ; python_version < '3.0'
|
||||
scipy==1.15.3 ; python_version >= '3.0'
|
||||
Loading…
Add table
Add a link
Reference in a new issue