Skip to content

Commit df50af2

Browse files
devversionAndrewKushnir
authored andcommitted
ci: only build test targets for components repo unit test job (angular#44832)
To speed up the components CI job (avoiding it being a bottleneck in FW), we will stop building everything in `src/...`, but rather only build targets which are needed to run all tests within `src/...`. This notably should avoid unnecessary NPM package building. Arguably that part would also be valuable to have, but we already test the `ng_package` rule in FW itself, plus we run snapshot tests in the components repo as well. PR Close angular#44832
1 parent 15df7eb commit df50af2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/ci/run_angular_components_unit_tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ cd ${COMPONENTS_REPO_TMP_DIR}
1414
./scripts/circleci/setup_bazel_binary.sh
1515

1616
# Now actually run the tests.
17-
bazel test --build_tag_filters=-docs-package,-e2e,-browser:firefox-local --test_tag_filters=-e2e,-browser:firefox-local -- src/...
17+
bazel test \
18+
--build_tag_filters=-docs-package,-e2e,-browser:firefox-local \
19+
--test_tag_filters=-e2e,-browser:firefox-local \
20+
--build_tests_only \
21+
-- src/...

0 commit comments

Comments
 (0)