Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,16 +581,22 @@ jobs:
command: ./scripts/ci/clone_angular_material_repo.sh
- restore_cache:
keys:
- v1-angular-material-{{ checksum "material_repo_sha" }}
- v1-angular-material-
- v2-angular-material-{{ checksum "material_repo_sha" }}
Comment thread
devversion marked this conversation as resolved.
Resolved
- v2-angular-material-
- run:
name: "Running Material unit tests"
command: ./scripts/ci/run_angular_material_unit_tests.sh
name: Installing Material dependencies.
command: yarn --cwd ${MATERIAL_REPO_TMP_DIR} install --frozen-lockfile --non-interactive
# Save the cache before we run the Material unit tests script. This is necessary
# because we don't want to cache the node modules which have been modified to contain
# the attached Ivy package output.
- save_cache:
key: v1-angular-material-{{ checksum "material_repo_sha" }}
key: v2-angular-material-{{ checksum "material_repo_sha" }}
paths:
# Needs to be hardcoded because environment variables are not interpolated here.
- "/tmp/material2/node_modules"
- run:
name: "Running Material unit tests"
command: ./scripts/ci/run_angular_material_unit_tests.sh

workflows:
version: 2
Expand Down
3 changes: 0 additions & 3 deletions scripts/ci/run_angular_material_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ angular_dir=$(pwd)
# Switch into Material directory.
cd ${MATERIAL_REPO_TMP_DIR}

# Install dependencies for the freshly cloned repo.
yarn install --frozen-lockfile --non-interactive

# Install this version of Angular into the freshly cloned repo.
rm -rf ./node_modules/@angular/*
cp -r ${angular_dir}/dist/packages-dist-ivy-aot/* ./node_modules/@angular/
Expand Down