Skip to content

Commit a52b379

Browse files
committed
build: integration size tests should not cause failure in CI
1 parent 1106cb1 commit a52b379

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ jobs:
571571
- *yarn_install
572572
- *setup_bazel_binary
573573
- run: yarn integration-tests
574+
- run:
575+
name: Running size integration tests (failures are reported in Slack only).
576+
command: |
577+
yarn integration-tests:size-test || ./scripts/circleci/notify-slack-job-failure.sh
574578
- run: yarn integration-tests:view-engine
575579
- *slack_notify_on_failure
576580

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
4242
"merge": "ng-dev pr merge",
4343
"approve-api": "node ./scripts/approve-api-golden.js",
4444
"approve-size-tests": "node ./scripts/approve-size-golden.js",
45-
"integration-tests": "bazel test //integration/... --test_tag_filters=-view-engine-only --build_tests_only",
46-
"integration-tests:view-engine": "bazel test //integration/... --test_tag_filters=view-engine-only --build_tests_only --config=view-engine"
45+
"integration-tests": "bazel test --test_tag_filters=-view-engine-only --build_tests_only -- //integration/... -//integration/size-test/...",
46+
"integration-tests:view-engine": "bazel test --test_tag_filters=-view-engine-only --build_tests_only -- //integration/... -//integration/size-test/...",
47+
"integration-tests:size-test": "bazel test //integration/size-test/..."
4748
},
4849
"version": "10.1.0-next.0",
4950
"dependencies": {

0 commit comments

Comments
 (0)