@@ -29,12 +29,6 @@ commands:
29
29
- run :
30
30
name : Install plotly-geo
31
31
command : " cd packages/python/plotly-geo; sudo pip install -e ."
32
- - run :
33
- name : Install orca
34
- command : |
35
- sudo npm install [email protected] sudo npm install orca
36
- sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
37
- echo 'export PATH="/home/circleci/project/node_modules/.bin:$PATH"' >> $BASH_ENV
38
32
- run :
39
33
name : Test core
40
34
command : " cd packages/python/plotly; pytest plotly/tests/test_core"
@@ -57,14 +51,33 @@ commands:
57
51
- run :
58
52
name : Test lazy imports
59
53
command : " cd packages/python/plotly; pytest -x test_init/test_lazy_imports.py"
54
+
55
+ test_orca :
56
+ parameters :
57
+ py :
58
+ default : " 36"
59
+ type : string
60
+ steps :
61
+ - checkout
62
+ - run :
63
+ name : Install dependencies
64
+ command : " cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_<<parameters.py>>_optional.txt"
65
+ - run :
66
+ name : Install plotly-geo
67
+ command : " cd packages/python/plotly-geo; sudo pip install -e ."
68
+ - run :
69
+ name : Install orca
70
+ command : |
71
+ sudo npm install [email protected] sudo npm install orca
72
+ sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
73
+ echo 'export PATH="/home/circleci/project/node_modules/.bin:$PATH"' >> $BASH_ENV
60
74
- run :
61
75
name : Test orca
62
76
command : " cd packages/python/plotly; pytest plotly/tests/test_orca"
63
77
no_output_timeout : 20m
64
78
- store_artifacts :
65
79
path : packages/python/plotly/plotly/tests/test_orca/images/linux/failed
66
80
67
-
68
81
jobs :
69
82
check-code-formatting :
70
83
docker :
@@ -137,6 +150,14 @@ jobs:
137
150
- test_optional :
138
151
py : " 39"
139
152
153
+ # Orca
154
+ python_38_orca :
155
+ docker :
156
+ - image : circleci/python:3.8-buster-node-browsers
157
+ steps :
158
+ - test_orca :
159
+ py : " 38"
160
+
140
161
# Percy
141
162
python_37_percy :
142
163
docker :
@@ -381,14 +402,15 @@ workflows:
381
402
382
403
build :
383
404
jobs :
384
- - python_36_core
385
- # - python_37_core
386
- - python_38_core
387
- # - python_39_core
388
- - python_37_percy
405
+ # - python_36_core
406
+ - python_37_core
407
+ # - python_38_core
408
+ - python_39_core
389
409
- python_36_optional
390
410
# - python_37_optional
391
- - python_38_optional
392
- # - python_39_optional
411
+ # - python_38_optional
412
+ - python_39_optional
413
+ - python_38_orca
414
+ - python_37_percy
393
415
# - python_37_chart_studio
394
416
# - build-doc
0 commit comments