Commit e8f34ee5 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Add test extra require

parent 36b6280c
Pipeline #46380 failed with stages
in 54 minutes and 41 seconds
...@@ -81,7 +81,7 @@ macos_wheel_python39: ...@@ -81,7 +81,7 @@ macos_wheel_python39:
- pip install numpy pybind11 - pip install numpy pybind11
# Install pyopencl first to use a wheel from silx.org under Windows # Install pyopencl first to use a wheel from silx.org under Windows
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl - pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install --pre --find-links artifacts/ --only-binary silx silx[full] - pip install --pre --find-links artifacts/ --only-binary silx silx[full,test]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());" - python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
...@@ -121,7 +121,7 @@ windows_test_python39: ...@@ -121,7 +121,7 @@ windows_test_python39:
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl - pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
# Install latest compatible version of PyQt5 with macos 10.12 # Install latest compatible version of PyQt5 with macos 10.12
- pip install pyqt5==5.15.0 - pip install pyqt5==5.15.0
- pip install --pre --find-links artifacts/ --only-binary silx silx[full] - pip install --pre --find-links artifacts/ --only-binary silx silx[full,test]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());" - python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
...@@ -159,7 +159,7 @@ macos_test_python39: ...@@ -159,7 +159,7 @@ macos_test_python39:
- pip install numpy pybind11 - pip install numpy pybind11
# Install pyopencl first to use a wheel from silx.org under Windows # Install pyopencl first to use a wheel from silx.org under Windows
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl - pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install --pre --find-links artifacts/ --only-binary silx silx[full] - pip install --pre --find-links artifacts/ --only-binary silx silx[full,test]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());" - python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
- pip uninstall -y PyQt5 - pip uninstall -y PyQt5
- pip install PySide2 - pip install PySide2
...@@ -209,7 +209,7 @@ manylinux2014_test_cp38: ...@@ -209,7 +209,7 @@ manylinux2014_test_cp38:
WITH_GL_TEST: "False" WITH_GL_TEST: "False"
script: script:
# No GUI, no pyopencl tests here # No GUI, no pyopencl tests here
- pip install --pre --find-links artifacts/ --only-binary silx silx - pip install --pre --find-links artifacts/ --only-binary silx silx[test]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());" - python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
allow_failure: true allow_failure: true
...@@ -231,7 +231,7 @@ manylinux2014_test_cp39: ...@@ -231,7 +231,7 @@ manylinux2014_test_cp39:
script: script:
# Pre-install numpy, h5py and fabio from silx.org # Pre-install numpy, h5py and fabio from silx.org
- pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --only-binary numpy,h5py,fabio numpy h5py fabio - pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --only-binary numpy,h5py,fabio numpy h5py fabio
- pip install --pre --find-links artifacts/ --only-binary numpy,h5py,fabio silx - pip install --pre --find-links artifacts/ --only-binary numpy,h5py,fabio silx[test]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());" - python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
manylinux2014_ppc64le_test_cp37: manylinux2014_ppc64le_test_cp37:
...@@ -276,7 +276,7 @@ windows_exe: ...@@ -276,7 +276,7 @@ windows_exe:
- pip install --upgrade numpy pybind11 - pip install --upgrade numpy pybind11
# Install pyopencl first to use a wheel from silx.org under Windows # Install pyopencl first to use a wheel from silx.org under Windows
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl - pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install .[full] - pip install .[full,test]
# Install pyinstaller # Install pyinstaller
- pip install pyinstaller==4.1 - pip install pyinstaller==4.1
# Generate fat binary # Generate fat binary
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment