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
This commit is contained in:
Paul Gschwendtner 2019-02-26 20:17:25 +01:00 committed by Andrew Kushnir
parent 5874247494
commit 2e43e15e12
1 changed files with 7 additions and 1 deletions

View File

@ -346,6 +346,12 @@ jobs:
- *init_environment - *init_environment
# Install aio # Install aio
- run: yarn --cwd aio install --frozen-lockfile --non-interactive - 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. # 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 # 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. # 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 - build-npm-packages
- test_docs_examples_ivy: - test_docs_examples_ivy:
requires: requires:
- build-npm-packages - build-ivy-npm-packages
- aio_preview: - aio_preview:
requires: requires:
- setup - setup