Skip to content

Commit d30b9c7

Browse files
committed
ci: move integration tests to GHA
Migrate integration tests to Github Action
1 parent 0de6875 commit d30b9c7

File tree

2 files changed

+21
-26
lines changed

2 files changed

+21
-26
lines changed

.circleci/config.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -368,30 +368,6 @@ jobs:
368368
- run: bazel test --build_tag_filters=-e2e --test_tag_filters=-e2e --build_tests_only -- src/...
369369
- *slack_notify_on_failure
370370

371-
# ----------------------------------------------------------------------------
372-
# Job that runs all Bazel integration tests.
373-
# ----------------------------------------------------------------------------
374-
integration_tests:
375-
<<: *job_defaults
376-
resource_class: xlarge
377-
environment:
378-
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
379-
steps:
380-
- checkout_and_rebase
381-
- *restore_cache
382-
- *setup_bazel_ci_config
383-
- *setup_bazel_remote_execution
384-
- *yarn_install
385-
- *setup_bazel_binary
386-
387-
- run: yarn integration-tests
388-
- run:
389-
name: Running size integration tests (failures are reported in Slack only).
390-
command: |
391-
# If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel.
392-
yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking
393-
- *slack_notify_on_failure
394-
395371
# ----------------------------------------------------------------------------
396372
# Job that runs the AOT linker tests.
397373
# ----------------------------------------------------------------------------
@@ -488,8 +464,6 @@ workflows:
488464

489465
default_workflow:
490466
jobs:
491-
- integration_tests:
492-
filters: *ignore_presubmit_branch_filter
493467
- linker_aot_test:
494468
filters: *ignore_presubmit_branch_filter
495469
- linker_jit_test:

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,24 @@ jobs:
106106
# Exclude release and docs packages here as those will be built within
107107
# the "build_release_packages" and "publish_snapshots" jobs.
108108
run: yarn bazel build --build_tag_filters=-docs-package,-release-package -- src/...
109+
110+
integration:
111+
runs-on: ubuntu-latest
112+
steps:
113+
- name: Initialize environment
114+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@45de46d9ba0e0689b7a846fd31ec9e241807ca71
115+
with:
116+
cache-node-modules: true
117+
- name: Setup Bazel
118+
uses: angular/dev-infra/github-actions/bazel/setup@45de46d9ba0e0689b7a846fd31ec9e241807ca71
119+
- name: Setup Bazel RBE
120+
uses: angular/dev-infra/github-actions/bazel/configure-remote@45de46d9ba0e0689b7a846fd31ec9e241807ca71
121+
- name: Install node modules
122+
run: yarn install --frozen-lockfile
123+
- name: Run integration tests
124+
run: yarn integration-tests\
125+
# TODO: Set up slack notifications
126+
# - name: Running size integration tests (failures are reported in Slack only).
127+
# run: |
128+
# If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel.
129+
# yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking

0 commit comments

Comments
 (0)