22 lines
684 B
Bash
Executable file
22 lines
684 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
trap 'node "$KIBANA_DIR/src/dev/failed_tests/cli"' EXIT
|
|
|
|
yarn run grunt functionalTests:ensureAllTestsInCiGroup;
|
|
|
|
node scripts/build --debug --oss;
|
|
|
|
export TEST_BROWSER_HEADLESS=1
|
|
|
|
checks-reporter-with-killswitch "Functional tests / Group ${CI_GROUP}" yarn run grunt "run:functionalTests_ciGroup${CI_GROUP}";
|
|
|
|
if [ "$CI_GROUP" == "1" ]; then
|
|
# build kbn_tp_sample_panel_action
|
|
cd test/plugin_functional/plugins/kbn_tp_sample_panel_action;
|
|
checks-reporter-with-killswitch "Build kbn_tp_sample_panel_action" yarn build;
|
|
cd -;
|
|
yarn run grunt run:pluginFunctionalTestsRelease --from=source;
|
|
yarn run grunt run:interpreterFunctionalTestsRelease;
|
|
fi
|