Skip to content

Commit a661aaf

Browse files
committed
ci: move integration tests to GHA
Migrate integration tests to Github Action
1 parent 4519994 commit a661aaf

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
@@ -389,30 +389,6 @@ jobs:
389389
- run: bazel test --build_tag_filters=-e2e --test_tag_filters=-e2e --build_tests_only -- src/...
390390
- *slack_notify_on_failure
391391

392-
# ----------------------------------------------------------------------------
393-
# Job that runs all Bazel integration tests.
394-
# ----------------------------------------------------------------------------
395-
integration_tests:
396-
<<: *job_defaults
397-
resource_class: xlarge
398-
environment:
399-
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
400-
steps:
401-
- checkout_and_rebase
402-
- *restore_cache
403-
- *setup_bazel_ci_config
404-
- *setup_bazel_remote_execution
405-
- *yarn_install
406-
- *setup_bazel_binary
407-
408-
- run: yarn integration-tests
409-
- run:
410-
name: Running size integration tests (failures are reported in Slack only).
411-
command: |
412-
# If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel.
413-
yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking
414-
- *slack_notify_on_failure
415-
416392
# ----------------------------------------------------------------------------
417393
# Job that runs the AOT linker tests.
418394
# ----------------------------------------------------------------------------
@@ -511,8 +487,6 @@ workflows:
511487
jobs:
512488
- bazel_build:
513489
filters: *ignore_presubmit_branch_filter
514-
- integration_tests:
515-
filters: *ignore_presubmit_branch_filter
516490
- linker_aot_test:
517491
filters: *ignore_presubmit_branch_filter
518492
- linker_jit_test:

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,24 @@ jobs:
8888
run: yarn install --frozen-lockfile
8989
- name: Run e2e tests
9090
run: yarn e2e --flaky_test_attempts=2
91+
92+
integration:
93+
runs-on: ubuntu-latest
94+
steps:
95+
- name: Initialize environment
96+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@45de46d9ba0e0689b7a846fd31ec9e241807ca71
97+
with:
98+
cache-node-modules: true
99+
- name: Setup Bazel
100+
uses: angular/dev-infra/github-actions/bazel/setup@45de46d9ba0e0689b7a846fd31ec9e241807ca71
101+
- name: Setup Bazel RBE
102+
uses: angular/dev-infra/github-actions/bazel/configure-remote@45de46d9ba0e0689b7a846fd31ec9e241807ca71
103+
- name: Install node modules
104+
run: yarn install --frozen-lockfile
105+
- name: Run integration tests
106+
run: yarn integration-tests\
107+
# TODO: Set up slack notifications
108+
# - name: Running size integration tests (failures are reported in Slack only).
109+
# run: |
110+
# If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel.
111+
# yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking

0 commit comments

Comments
 (0)