StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
#! /bin/bash
|
|
#
|
|
# Run tests that aren't ran on CI (yet)
|
|
#
|
|
# to run all no-ci tests
|
|
# $ (plotly.js) ./tasks/noci_test.sh
|
|
#
|
|
# to run jasmine no-ci tests
|
|
# $ (plotly.js) ./tasks/noci_test.sh jasmine
|
|
|
|
# to run image no-ci tests
|
|
# $ (plotly.js) ./tasks/noci_test.sh image
|
|
#
|
|
# -----------------------------------------------
|
|
|
|
EXIT_STATE=0
|
|
root=$(dirname $0)/..
|
|
|
|
# jasmine specs with @noCI tag
|
|
test_jasmine () {
|
|
npm run test-jasmine -- --tags=noCI,noCIdep --nowatch || EXIT_STATE=$?
|
|
}
|
|
|
|
# mapbox image tests take too much resources on CI
|
|
#
|
|
# since the update to mapbox-gl@0.44.0, we must use orca
|
|
# as mapbox-gl versions >0.22.1 aren't supported on nw.js@0.12 used in the
|
|
# 'old' image server
|
|
test_image () {
|
|
$root/../orca/bin/orca.js graph \
|
|
$root/test/image/mocks/mapbox_* \
|
|
--plotly $root/build/plotly.js \
|
|
--mapbox-access-token "pk.eyJ1IjoicGxvdGx5LWpzLXRlc3RzIiwiYSI6ImNrNG9meTJmOTAxa3UzZm10dWdteDQ2eWMifQ.2REjOFyIrleMqwS8H8y1-A" \
|
|
--output-dir $root/test/image/baselines/ \
|
|
--verbose || EXIT_STATE=$?
|
|
}
|
|
|
|
case $1 in
|
|
jasmine)
|
|
test_jasmine
|
|
;;
|
|
image)
|
|
test_image
|
|
;;
|
|
*)
|
|
test_jasmine
|
|
test_image
|
|
;;
|
|
esac
|
|
|
|
exit $EXIT_STATE
|
|
|