File tree 1 file changed +32
-31
lines changed
1 file changed +32
-31
lines changed Original file line number Diff line number Diff line change 79
79
command : ' cd packages/python/plotly; tox -e py37-core'
80
80
no_output_timeout : 20m
81
81
82
+ python-3.7-percy :
83
+ docker :
84
+ - image : circleci/python:3.7-stretch-node-browsers
85
+
86
+ environment :
87
+ PERCY_ENABLED : True
88
+ PERCY_PROJECT : plotly/plotly.py
89
+
90
+ steps :
91
+ - checkout
92
+ - run :
93
+ name : Inject Percy Environment variables
94
+ command : |
95
+ echo 'export PERCY_TOKEN="$PERCY_PYTHON_TOKEN_V0"' >> $BASH_ENV
96
+
97
+ - run :
98
+ name : Install requirements
99
+ command : |
100
+ pip install -e ./packages/python/plotly
101
+
102
+ - run :
103
+ name : Build html figures
104
+ command : |
105
+ python tests/percy/plotly.express.py
106
+
107
+ - run :
108
+ name : Run percy snapshots
109
+ command : |
110
+ npx percy snapshot tests/percy/
111
+ rm tests/percy/*.html
112
+
113
+
82
114
# Optional
83
115
python-2.7-optional :
84
116
docker :
@@ -160,37 +192,6 @@ jobs:
160
192
command : ' cd packages/python/plotly; tox -e py37-optional'
161
193
no_output_timeout : 20m
162
194
163
- python-3.7-percy :
164
- docker :
165
- - image : circleci/python:3.7-stretch-node-browsers
166
-
167
- environment :
168
- PERCY_ENABLED : True
169
- PERCY_PROJECT : plotly/plotly.py
170
-
171
- steps :
172
- - checkout
173
- - run :
174
- name : Inject Percy Environment variables
175
- command : |
176
- echo 'export PERCY_TOKEN="$PERCY_PYTHON_TOKEN_V0"' >> $BASH_ENV
177
-
178
- - run :
179
- name : Install requirements
180
- command : |
181
- pip install -e ./packages/python/plotly
182
-
183
- - run :
184
- name : Build html figures
185
- command : |
186
- python tests/percy/plotly.express.py
187
-
188
- - run :
189
- name : Run percy snapshots
190
- command : |
191
- npx percy snapshot tests/percy/
192
- rm tests/percy/*.html
193
-
194
195
# Plot.ly
195
196
python-2.7-plot_ly :
196
197
docker :
You can’t perform that action at this time.
0 commit comments