File tree 3 files changed +27
-2
lines changed
3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,25 @@ jobs:
144
144
name : Run jasmine tests (part D)
145
145
command : .circleci/test.sh bundle-jasmine
146
146
147
+ mathjax-firefox81 :
148
+ docker :
149
+ # need '-browsers' version to test in real (xvfb-wrapped) browsers
150
+ - image : cimg/node:16.8.0-browsers
151
+ environment :
152
+ # Alaska time (arbitrary timezone to test date logic)
153
+ TZ : " America/Anchorage"
154
+ working_directory : ~/plotly.js
155
+ steps :
156
+ - browser-tools/install-browser-tools : &browser-versions
157
+ firefox-version : ' 81.0'
158
+ install-chrome : false
159
+ install-chromedriver : false
160
+ - attach_workspace :
161
+ at : ~/
162
+ - run :
163
+ name : Test MathJax on firefox-81
164
+ command : .circleci/test.sh mathjax-firefox
165
+
147
166
make-baselines :
148
167
parallelism : 4
149
168
docker :
@@ -321,6 +340,9 @@ workflows:
321
340
- bundle-jasmine :
322
341
requires :
323
342
- install-and-cibuild
343
+ - mathjax-firefox81 :
344
+ requires :
345
+ - install-and-cibuild
324
346
- no-gl-jasmine :
325
347
requires :
326
348
- install-and-cibuild
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ case $1 in
69
69
exit $EXIT_STATE
70
70
;;
71
71
72
+ mathjax-firefox)
73
+ ./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax --nowatch || EXIT_STATE=$?
74
+ exit $EXIT_STATE
75
+ ;;
76
+
72
77
make-baselines)
73
78
SUITE=$( find $ROOT /test/image/mocks/ -type f -printf " %f\n" | sed ' s/\.json$//1' | circleci tests split)
74
79
python3 test/image/make_baseline.py $SUITE || EXIT_STATE=$?
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ root=$(dirname $0)/..
18
18
19
19
# jasmine specs with @noCI tag
20
20
test_jasmine () {
21
- # run MathJax on FireFox
22
- ./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax --nowatch && \
23
21
# run noCI tests
24
22
npm run test-jasmine -- --tags=noCI,noCIdep --nowatch || EXIT_STATE=$?
25
23
}
You can’t perform that action at this time.
0 commit comments