Skip to content

build: run snapshot local browser tests with bazel #16832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,19 +388,19 @@ jobs:
snapshot_tests_local_browsers:
docker: *docker-firefox-image
resource_class: xlarge
environment:
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
steps:
- *checkout_code
- *restore_cache
- *setup_bazel_ci_config
- *setup_bazel_remote_execution
- *yarn_download
- *yarn_install
- *setup_bazel_binary

- run: node ./scripts/circleci/setup-angular-snapshots.js --tag master
# We need to re-run yarn install in order to pull the Angular snapshot builds. Note
# that we can't use the "--frozen-lockfile" option since the setup snapshots script does
# not update the lock file.
- run: yarn install --non-interactive
- run: ./scripts/circleci/run-local-browser-tests.sh

- run: bazel test src/... --build_tag_filters=-e2e --test_tag_filters=-e2e

# ----------------------------------------------------------------------------
# Job that runs all Bazel tests against Ivy with the current Angular version
Expand Down
5 changes: 5 additions & 0 deletions angular-tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
// This file is required because when using the Angular NPM packages and building
// with AOT compilation, NGC needs the "ngsummary.json" files.
{
"angularCompilerOptions": {
// In snapshot builds the compiler-cli will now use ngtsc by default. In
// order to be able to build the summary files, we need to use ngc.
"enableIvy": false
},
"compilerOptions": {
"module": "umd",
"moduleResolution": "node",
Expand Down
15 changes: 0 additions & 15 deletions scripts/circleci/run-local-browser-tests.sh

This file was deleted.