Commit 1f9793a5 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Add tests

parent ad87daad
Pipeline #11336 failed with stages
in 74 minutes and 23 seconds
include:
- remote: 'https://gitlab.esrf.fr/silx/bob/main/raw/master/job-templates.yml'
stages:
- build_source
- build
- test
- deploy
variables:
PROJECT: silx
REPOSITORY: https://github.com/silx-kit/silx
SILX_OPENCL: "False"
source:
extends: .source_build
manylinux1_wheels:
extends: .manylinux1_wheels
manylinux2010_wheels:
extends: .manylinux2010_wheels
windows_wheel_python27:
extends: .windows_wheel_python27
......@@ -27,11 +38,133 @@ windows_wheel_python36:
windows_wheel_python37:
extends: .windows_wheel_python37
#debian8:
# extends: .debian8
debian9:
extends: .debian9
debian10:
extends: .debian10
# Test
.test_template: &test_template_defintion
stage: test
variables:
WITH_GL_TEST: "False"
script:
- pip install --pre --find-links artifacts/ --only-binary silx silx[full]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
windows_test_python35:
<<: *test_template_defintion
extends: .windows_base_python35
dependencies:
- windows_wheel_python35
windows_test_python36:
<<: *test_template_defintion
extends: .windows_base_python36
dependencies:
- windows_wheel_python36
windows_test_python37:
<<: *test_template_defintion
extends: .windows_base_python37
dependencies:
- windows_wheel_python37
manylinux1_test_cp35:
<<: *test_template_defintion
extends: .manylinux1_cp35_base
dependencies:
- manylinux1_wheels
manylinux1_test_cp36:
<<: *test_template_defintion
extends: .manylinux1_cp36_base
dependencies:
- manylinux1_wheels
manylinux1_test_cp37:
<<: *test_template_defintion
extends: .manylinux1_cp37_base
dependencies:
- manylinux1_wheels
manylinux2010_test_cp35:
<<: *test_template_defintion
extends: .manylinux2010_cp35_base
dependencies:
- manylinux2010_wheels
manylinux2010_test_cp36:
<<: *test_template_defintion
extends: .manylinux2010_cp36_base
dependencies:
- manylinux2010_wheels
manylinux2010_test_cp37:
<<: *test_template_defintion
extends: .manylinux2010_cp37_base
dependencies:
- manylinux2010_wheels
# Test older version of Python where there is no PyQt wheel
.test_template_old: &test_template_old_defintion
stage: test
variables:
WITH_QT_TEST: "False"
WITH_GL_TEST: "False"
script:
- pip install --pre --find-links artifacts/ --only-binary silx silx
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
windows_test_python27:
<<: *test_template_old_defintion
extends: .windows_base_python27
dependencies:
- windows_wheel_python27
manylinux1_test_cp27m:
<<: *test_template_old_defintion
extends: .manylinux1_cp27m_base
dependencies:
- manylinux1_wheels
manylinux1_test_cp27mu:
<<: *test_template_old_defintion
extends: .manylinux1_cp27mu_base
dependencies:
- manylinux1_wheels
manylinux1_test_cp34:
<<: *test_template_old_defintion
extends: .manylinux1_cp34_base
dependencies:
- manylinux1_wheels
manylinux2010_test_cp27m:
<<: *test_template_old_defintion
extends: .manylinux2010_cp27m_base
dependencies:
- manylinux2010_wheels
manylinux2010_test_cp27mu:
<<: *test_template_old_defintion
extends: .manylinux2010_cp27mu_base
dependencies:
- manylinux2010_wheels
manylinux2010_test_cp34:
<<: *test_template_old_defintion
extends: .manylinux2010_cp34_base
dependencies:
- manylinux2010_wheels
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