Skip to content

Commit db4b0cd

Browse files
authored
build: integration size tests should not cause failure in CI (#19829)
1 parent dfc279f commit db4b0cd

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,13 @@ jobs:
570570
- *setup_bazel_remote_execution
571571
- *yarn_install
572572
- *setup_bazel_binary
573-
- run: yarn integration-tests
573+
# TODO: Re-enable when there are integration tests that should run with Ivy.
574+
# Currently this command fails as there are no tests.
575+
# - run: yarn integration-tests
576+
- run:
577+
name: Running size integration tests (failures are reported in Slack only).
578+
command: |
579+
yarn integration-tests:size-test || ./scripts/circleci/notify-slack-job-failure.sh
574580
- run: yarn integration-tests:view-engine
575581
- *slack_notify_on_failure
576582

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)