Skip to content

Commit b60e070

Browse files
devversionjelbourn
authored andcommitted
build: do not build e2e tests in unit tests job
Currently Bazel seems to build e2e test targets in CI jobs that only intend to build and test unit tests. The e2e tests are handled in a different CI job.
1 parent 3981813 commit b60e070

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
- *yarn_download
191191
- *yarn_install
192192

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

195195
# ------------------------------------------------------------------------------------------
196196
# Job that runs the unit tests on locally installed browsers (Chrome and Firefox headless).
@@ -422,8 +422,8 @@ jobs:
422422
# Issue is tracked with FW-1004.
423423
- run: sed -i "s/\(_ENABLE_NG_TYPE_CHECKING = \)True/\1False/g" tools/defaults.bzl
424424
# Run project tests with ngtsc and the Ivy Angular packages.
425-
- run: bazel build src/... --build_tag_filters=-docs-package --define=compile=aot
426-
- run: bazel test src/... --build_tag_filters=-docs-package --define=compile=aot --test_tag_filters=-e2e
425+
- run: bazel build src/... --build_tag_filters=-docs-package,-e2e --define=compile=aot
426+
- run: bazel test src/... --build_tag_filters=-docs-package,-e2e --test_tag_filters=-e2e --define=compile=aot
427427

428428
# ----------------------------------------------------------------------------
429429
# Job that runs all Bazel tests against Ivy from angular/angular#master.
@@ -449,8 +449,8 @@ jobs:
449449
# Issue is tracked with FW-1004.
450450
- run: sed -i "s/\(_ENABLE_NG_TYPE_CHECKING = \)True/\1False/g" tools/defaults.bzl
451451
# Run project tests with ngtsc and the Ivy Angular packages.
452-
- run: bazel build src/... --build_tag_filters=-docs-package --define=compile=aot
453-
- run: bazel test src/... --build_tag_filters=-docs-package --define=compile=aot --test_tag_filters=-e2e
452+
- run: bazel build src/... --build_tag_filters=-docs-package,-e2e --define=compile=aot
453+
- run: bazel test src/... --build_tag_filters=-docs-package,-e2e --test_tag_filters=-e2e --define=compile=aot
454454

455455
# ----------------------------------------------------------------------------------------
456456
# Workflow definitions. A workflow usually groups multiple jobs together. This is useful if

0 commit comments

Comments
 (0)