From 64ff304585c106d5a53b9866da6f2822fc3ead4b Mon Sep 17 00:00:00 2001 From: John Cowen Date: Fri, 21 Feb 2020 13:44:25 +0000 Subject: [PATCH] ui: Make a specific CI coverage make target ensuring use of CI cache (#7335) --- .circleci/config.yml | 2 +- ui-v2/GNUmakefile | 3 +++ ui-v2/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cfdc3d6c4e..ac68c205e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -506,7 +506,7 @@ jobs: at: ui-v2 - run: working_directory: ui-v2 - command: make test-coverage + command: make test-coverage-ci - run: name: codecov ui upload working_directory: ui-v2 diff --git a/ui-v2/GNUmakefile b/ui-v2/GNUmakefile index 1789a9cd4e..47a892423e 100644 --- a/ui-v2/GNUmakefile +++ b/ui-v2/GNUmakefile @@ -76,6 +76,9 @@ test-coverage: deps specify-coverage test-coverage-view: deps specify-coverage yarn run test:coverage:view +test-coverage-ci: deps specify-coverage + yarn run test:coverage:ci + test-parallel: deps yarn run test:parallel diff --git a/ui-v2/package.json b/ui-v2/package.json index 7984f9e765..5c4a13b211 100644 --- a/ui-v2/package.json +++ b/ui-v2/package.json @@ -30,6 +30,7 @@ "test:oss:view": "CONSUL_NSPACES_ENABLED=0 ember test --server --test-port=${EMBER_TEST_PORT:-7357}", "test:node": "tape ./node-tests/**/*.js", "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}", "steps:list": "node ./lib/commands/bin/list.js" },