File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
EXIT_STATE=0
4
+ root=$( dirname $0 ) /..
4
5
5
- # tests that aren't run on CI
6
+ # tests that aren't run on CI (yet)
6
7
7
8
# jasmine specs with @noCI tag
8
9
npm run test-jasmine -- --tags=noCI --nowatch || EXIT_STATE=$?
9
10
10
11
# mapbox image tests take too much resources on CI
11
- npm run test-image -- mapbox_* --queue || EXIT_STATE=$?
12
+
13
+ # since the update to [email protected] , we must use 'new' image-exporter
14
+ # as mapbox-gl versions >0.22.1 aren't supported on [email protected] used in the
15
+ # 'old' image server
16
+ $root /../image-exporter/bin/plotly-graph-exporter.js $root /test/image/mocks/mapbox_* \
17
+ --plotly $root /build/plotly.js \
18
+ --mapbox-access-token " pk.eyJ1IjoiZXRwaW5hcmQiLCJhIjoiY2luMHIzdHE0MGFxNXVubTRxczZ2YmUxaCJ9.hwWZful0U2CQxit4ItNsiQ" \
19
+ --output-dir $root /test/image/baselines/ \
20
+ --verbose
12
21
13
22
exit $EXIT_STATE
You can’t perform that action at this time.
0 commit comments