ui: Make a specific CI coverage make target ensuring use of CI cache (#7335)

This commit is contained in:
John Cowen 2020-02-21 13:44:25 +00:00 committed by John Cowen
parent b0b76e6f0c
commit b500cd929e
3 changed files with 5 additions and 1 deletions

View File

@ -506,7 +506,7 @@ jobs:
at: ui-v2 at: ui-v2
- run: - run:
working_directory: ui-v2 working_directory: ui-v2
command: make test-coverage command: make test-coverage-ci
- run: - run:
name: codecov ui upload name: codecov ui upload
working_directory: ui-v2 working_directory: ui-v2

View File

@ -76,6 +76,9 @@ test-coverage: deps specify-coverage
test-coverage-view: deps specify-coverage test-coverage-view: deps specify-coverage
yarn run test:coverage:view yarn run test:coverage:view
test-coverage-ci: deps specify-coverage
yarn run test:coverage:ci
test-parallel: deps test-parallel: deps
yarn run test:parallel yarn run test:parallel

View File

@ -30,6 +30,7 @@
"test:oss:view": "CONSUL_NSPACES_ENABLED=0 ember test --server --test-port=${EMBER_TEST_PORT:-7357}", "test:oss:view": "CONSUL_NSPACES_ENABLED=0 ember test --server --test-port=${EMBER_TEST_PORT:-7357}",
"test:node": "tape ./node-tests/**/*.js", "test:node": "tape ./node-tests/**/*.js",
"test:coverage": "COVERAGE=true ember test --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}", "test:coverage": "COVERAGE=true ember test --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}",
"test:coverage:ci": "COVERAGE=true ember test --environment test --filter=Unit --path dist --test-port=${EMBER_TEST_PORT:-7357}",
"test:coverage:view": "COVERAGE=true ember test --server --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}", "test:coverage:view": "COVERAGE=true ember test --server --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}",
"steps:list": "node ./lib/commands/bin/list.js" "steps:list": "node ./lib/commands/bin/list.js"
}, },