File tree Expand file tree Collapse file tree 1 file changed +35
-6
lines changed Expand file tree Collapse file tree 1 file changed +35
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ commands:
51
51
# - run:
52
52
# name: Test lazy imports
53
53
# command: "cd packages/python/plotly; pytest -x test_init/test_lazy_imports.py"
54
- - run :
55
- name : Test build docs
56
- command : |
57
- cd doc
58
- echo ${mapbox_token} > python/.mapbox_token
59
- make -kj8
60
54
61
55
test_orca :
62
56
parameters :
@@ -84,6 +78,32 @@ commands:
84
78
- store_artifacts :
85
79
path : packages/python/plotly/plotly/tests/test_orca/images/linux/failed
86
80
81
+ test_docs :
82
+ parameters :
83
+ py :
84
+ default : " 36"
85
+ type : string
86
+ steps :
87
+ - checkout
88
+ - run :
89
+ name : Install dependencies
90
+ command : " cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_<<parameters.py>>_optional.txt"
91
+ - run :
92
+ name : Install plotly-geo
93
+ command : " cd packages/python/plotly-geo; sudo pip install -e ."
94
+ - run :
95
+ name : Install orca
96
+ command : |
97
+ sudo npm install electron@1.8.4 sudo npm install orca
98
+ sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
99
+ echo 'export PATH="/home/circleci/project/node_modules/.bin:$PATH"' >> $BASH_ENV
100
+ - run :
101
+ name : Test build docs
102
+ command : |
103
+ cd doc
104
+ echo ${mapbox_token} > python/.mapbox_token
105
+ make -kj8
106
+
87
107
jobs :
88
108
check-code-formatting :
89
109
docker :
@@ -164,6 +184,14 @@ jobs:
164
184
- test_orca :
165
185
py : " 38"
166
186
187
+ # Docs
188
+ python_38_docs :
189
+ docker :
190
+ - image : circleci/python:3.8-buster-node-browsers
191
+ steps :
192
+ - test_docs :
193
+ py : " 38"
194
+
167
195
# Percy
168
196
python_37_percy :
169
197
docker :
@@ -415,6 +443,7 @@ workflows:
415
443
# - python_36_optional
416
444
# - python_37_optional
417
445
# - python_38_optional
446
+ - python_38_docs
418
447
- python_39_optional
419
448
# - python_38_orca
420
449
# - python_37_percy
You can’t perform that action at this time.
0 commit comments