Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
ewoks
ewoksorange
Commits
225163b2
Commit
225163b2
authored
Nov 22, 2021
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
225163b2
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
README.md
View file @
225163b2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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