Commit 225163b2 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

Merge branch 'cleanup_ci_config' into 'main'

cleanup ci config

See merge request !53
parents 94a44a7a 1510cf00
Pipeline #60075 passed with stages
in 7 minutes and 1 second
include:
- remote: "https://gitlab.esrf.fr/workflow/ewoks/ewoks/raw/main/.gitlab-ci-template.yml"
- remote: https://gitlab.esrf.fr/workflow/ewoks/ewoks/raw/main/.gitlab-ci-template.yml
test-3.6:
extends: ".test-3.6_glx"
before_script:
- export QT_QPA_PLATFORM=offscreen
extends: .test-3.6_glx
test-3.6-henri-orange-fork:
extends: ".test-3.6_glx"
before_script:
- export QT_QPA_PLATFORM=offscreen
# missing dependencies in the Orange3 fork
- pip install numpy scipy PyQt5 silx chardet sklearn
# hard fork of Orange3
extends: .test-3.6_glx
script:
- pip install --no-deps .
- pip install ewokscore[test]
- pip install importlib_resources # python_version < "3.7"
- pip install git+https://github.com/payno/orange3.git
test-3.6-oasys-orange-fork:
extends: ".test-3.6_glx"
before_script:
- export QT_QPA_PLATFORM=offscreen
- pip install pytest-cov
- pip install --pre .[test]
# hard fork of Orange3
- pip uninstall orange3 -y
- pip uninstall orange-canvas-core -y
- pip uninstall orange-widget-base -y
- pip install git+https://github.com/oasys-kit/OASYS1.git
extends: .test-3.6_glx
script:
- pip install --no-deps .
- pip install ewokscore[test]
- pip install importlib_resources # python_version < "3.7"
- pip install AnyQt
- pip install oasys1
- pytest --cov=./ -v .
build_sdist:
extends: ".build_sdist"
extends: .build_sdist
test_sdist-3.6:
extends: ".test_sdist-3.6_glx"
before_script:
- export QT_QPA_PLATFORM=offscreen
extends: .test_sdist-3.6_glx
build_doc:
extends: ".build_doc"
extends: .build_doc
pages:
extends: ".pages"
extends: .pages
......@@ -6,6 +6,22 @@
python -m pip install ewoksorange[test]
```
When using Oasys instead of Orange3
```bash
python -m pip install --no-deps ewoksorange
python -m pip install ewokscore
python -m pip install AnyQt
python -m pip install oasys1
```
For the tests in an Oasys environment
```bash
python -m pip install ewokscore[test]
python -m pip install importlib_resources # python_version < "3.7"
```
## Test
```bash
......
Markdown is supported
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