ui: Move CI to use the Makefile for testing (+ tmporary removal of exam) (#7188)
* ui: Move CI to use the Makefile for testing (+ tmporary removal of exam) * ui: make a specific test-ci target as we are using --path dist --path dist looks for a previous build to test against, in CI this exists as we run a build first, but locally potentially this dist folder doesn't
This commit is contained in:
parent
ce059a909b
commit
ca6f73abe2
|
@ -506,7 +506,7 @@ jobs:
|
|||
at: ui-v2
|
||||
- run:
|
||||
working_directory: ui-v2
|
||||
command: node_modules/ember-cli/bin/ember exam --split=$CIRCLE_NODE_TOTAL --partition=`expr $CIRCLE_NODE_INDEX + 1` --path dist --silent -r xunit
|
||||
command: make test-ci
|
||||
- store_test_results:
|
||||
path: ui-v2/test-results
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@ start-api: deps
|
|||
test: deps test-node
|
||||
yarn run test
|
||||
|
||||
test-ci: deps test-node
|
||||
yarn run test:ci
|
||||
|
||||
test-view: deps test-node
|
||||
yarn run test:view
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"start:consul": "ember serve --proxy=${CONSUL_HTTP_ADDR:-http://localhost:8500} --port=${EMBER_SERVE_PORT:-4200} --live-reload-port=${EMBER_LIVE_RELOAD_PORT:-7020}",
|
||||
"start:api": "api-double --dir ./node_modules/@hashicorp/consul-api-double",
|
||||
"test": "ember test --test-port=${EMBER_TEST_PORT:-7357}",
|
||||
"test:ci": "ember test --test-port=${EMBER_TEST_PORT:-7357} --path dist --silent --reporter xunit",
|
||||
"test:parallel": "EMBER_EXAM_PARALLEL=true ember exam --split=4 --parallel",
|
||||
"test:view": "ember test --server --test-port=${EMBER_TEST_PORT:-7357}",
|
||||
"test:node": "tape ./node-tests/**/*.js",
|
||||
|
|
Loading…
Reference in New Issue