Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
silx
bob
silx
Commits
6d020852
Commit
6d020852
authored
May 12, 2021
by
Thomas Vincent
Browse files
Try running with pytest with --ignore
parent
d860a988
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6d020852
...
...
@@ -122,7 +122,8 @@ windows_test_python39:
# Install latest compatible version of PyQt5 with macos 10.12
-
pip install pyqt5==5.13.2
-
pip install --pre --find-links artifacts/ --only-binary silx silx[full,test]
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
# Do not run GUI tests and OpenCL ones
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests(args=['--ignore=silx/opencl']));"
macos_test_python36
:
...
...
@@ -184,6 +185,12 @@ manylinux1_test_cp38:
dependencies
:
-
manylinux1_wheels
manylinux1_test_cp39
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp39_base
dependencies
:
-
manylinux1_wheels
manylinux2014_test_cp36
:
<<
:
*test_template_defintion
...
...
@@ -203,24 +210,8 @@ manylinux2014_test_cp38:
dependencies
:
-
manylinux2014_wheels
.test_template_py39
:
&test_template_defintion_py39
stage
:
test
variables
:
WITH_GL_TEST
:
"
False"
script
:
# No GUI, no pyopencl tests here
-
pip install --pre --find-links artifacts/ --only-binary silx silx[full,test]
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
allow_failure
:
true
manylinux1_test_cp39
:
<<
:
*test_template_defintion_py39
extends
:
.manylinux2014_cp39_base
dependencies
:
-
manylinux1_wheels
manylinux2014_test_cp39
:
<<
:
*test_template_defintion
_py39
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp39_base
dependencies
:
-
manylinux2014_wheels
...
...
@@ -231,8 +222,8 @@ manylinux2014_test_cp39:
script
:
# 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 --find-links artifacts/ --only-binary numpy,h5py,fabio silx[
full,
test]
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
-
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(
args=['--ignore=silx/app', '--ignore=silx/gui', '--ignore=silx/opencl', '--ignore=silx/test/test_sx.py']
));"
manylinux2014_ppc64le_test_cp37
:
<<
:
*test_ppc64le_template_defintion
...
...
@@ -317,4 +308,4 @@ windows_test_exe:
# Deploy
pages
:
extends
:
.pages
\ No newline at end of file
extends
:
.pages
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment