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:
1 parent
8be004401e
commit
bb96318725
2 files changed
+9
No files matched your search
@@ -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
|
||||
@@ -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'
|
||||
Reference in new issue
Block a user