From 2e43e15e12aed3cb6825b532de52846aae40df53 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 26 Feb 2019 20:17:25 +0100 Subject: [PATCH] ci: "test_docs_examples_ivy" should attach ivy package output (#28984) Currently the "test_docs_examples_ivy" job attaches the legacy package output, while we can also attach the Ivy NPM package output. We don't need Ngcc to downlevel the Angular packages in order to run the docs examples with Ivy. PR Close #28984 --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7c4681d963..6874de04fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -346,6 +346,12 @@ jobs: - *init_environment # Install aio - run: yarn --cwd aio install --frozen-lockfile --non-interactive + # Rename the Ivy packages dist folder to "dist/packages-dist" as the AIO + # package installer picks up the locally built packages from that location. + # *Note*: We could also adjust the packages installer, but given we won't have + # two different folders of Angular distributions in the future, we should keep + # the packages installer unchanged. + - run: mv dist/packages-dist-ivy-aot dist/packages-dist # Run examples tests with ivy. The "CIRCLE_NODE_INDEX" will be set if "parallelism" is enabled. # Since the parallelism is set to "3", there will be three parallel CircleCI containers # with either "0", "1" or "2" as node index. This can be passed to the "--shard" argument. @@ -596,7 +602,7 @@ workflows: - build-npm-packages - test_docs_examples_ivy: requires: - - build-npm-packages + - build-ivy-npm-packages - aio_preview: requires: - setup