@@ -122,6 +122,26 @@ jobs:
122
122
name : Run jasmine tests (part B)
123
123
command : .circleci/test.sh webgl-jasmine
124
124
125
+ virtual-webgl-jasmine :
126
+ docker :
127
+ # need '-browsers' version to test in real (xvfb-wrapped) browsers
128
+ - image : cimg/node:16.17.1-browsers
129
+ environment :
130
+ # Alaska time (arbitrary timezone to test date logic)
131
+ TZ : " America/Anchorage"
132
+ parallelism : 8
133
+ working_directory : ~/plotly.js
134
+ steps :
135
+ - browser-tools/install-browser-tools : &browser-versions
136
+ chrome-version : 110.0.5481.100
137
+ install-firefox : false
138
+ install-geckodriver : false
139
+ - attach_workspace :
140
+ at : ~/
141
+ - run :
142
+ name : Run jasmine tests (part B)
143
+ command : .circleci/test.sh virtual-webgl-jasmine
144
+
125
145
flaky-no-gl-jasmine :
126
146
docker :
127
147
# need '-browsers' version to test in real (xvfb-wrapped) browsers
@@ -216,6 +236,25 @@ jobs:
216
236
name : Test MathJax on firefox-latest
217
237
command : .circleci/test.sh mathjax-firefox82+
218
238
239
+ make-baselines-virtual-webgl :
240
+ parallelism : 2
241
+ docker :
242
+ - image : circleci/python:3.8.9
243
+ working_directory : ~/plotly.js
244
+ steps :
245
+ - attach_workspace :
246
+ at : ~/
247
+ - run :
248
+ name : Install kaleido, plotly.io and required fonts
249
+ command : .circleci/env_image.sh
250
+ - run :
251
+ name : Create png files using virtual-webgl & WebGL v1
252
+ command : .circleci/test.sh make-baselines-virtual-webgl
253
+ - persist_to_workspace :
254
+ root : ~/
255
+ paths :
256
+ - plotly.js
257
+
219
258
make-baselines-mathjax3 :
220
259
docker :
221
260
- image : circleci/python:3.8.9
@@ -267,6 +306,20 @@ jobs:
267
306
path : build
268
307
destination : /
269
308
309
+ test-baselines-virtual-webgl :
310
+ docker :
311
+ - image : circleci/node:16.9.0
312
+ working_directory : ~/plotly.js
313
+ steps :
314
+ - attach_workspace :
315
+ at : ~/
316
+ - run :
317
+ name : Compare pixels
318
+ command : .circleci/test.sh test-image-virtual-webgl ; find build -maxdepth 1 -type f -delete
319
+ - store_artifacts :
320
+ path : build
321
+ destination : /
322
+
270
323
test-baselines-mathjax3 :
271
324
docker :
272
325
- image : circleci/node:16.9.0
@@ -441,9 +494,18 @@ workflows:
441
494
- webgl-jasmine :
442
495
requires :
443
496
- install-and-cibuild
497
+ - virtual-webgl-jasmine :
498
+ requires :
499
+ - install-and-cibuild
444
500
- flaky-no-gl-jasmine :
445
501
requires :
446
502
- install-and-cibuild
503
+ - make-baselines-virtual-webgl :
504
+ requires :
505
+ - install-and-cibuild
506
+ - test-baselines-virtual-webgl :
507
+ requires :
508
+ - make-baselines-virtual-webgl
447
509
- make-baselines-mathjax3 :
448
510
requires :
449
511
- install-and-cibuild
0 commit comments