diff --git a/.circleci/config.yml b/.circleci/config.yml index ec673f9a52a7..a16bf80a6346 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -186,25 +186,6 @@ jobs: - run: bazel build --build_tag_filters=-docs-package,-release-package -- src/... - *slack_notify_on_failure - # ------------------------------------------------------------------------------------------ - # Job that runs the unit tests on Bazel-provided browsers (Chrome and Firefox headless). - # ------------------------------------------------------------------------------------------ - tests_browsers: - <<: *job_defaults - resource_class: xlarge - environment: - GCP_DECRYPT_TOKEN: *gcp_decrypt_token - steps: - - checkout_and_rebase - - *restore_cache - - *setup_bazel_ci_config - - *setup_bazel_remote_execution - - *yarn_install - - *setup_bazel_binary - - - run: bazel test --build_tag_filters=-e2e --test_tag_filters=-e2e --build_tests_only -- src/... - - *slack_notify_on_failure - # ---------------------------------------------------------------------------- # Job that runs the unit tests on Browserstack. The browsers that will be used # to run the unit tests on Browserstack are set in: test/browser-providers.js @@ -449,8 +430,6 @@ workflows: jobs: - bazel_build: filters: *ignore_presubmit_branch_filter - - tests_browsers: - filters: *ignore_presubmit_branch_filter - tests_browserstack: filters: *ignore_presubmit_branch_filter - tests_saucelabs: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 458a16a66717..9a1503576dbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,3 +151,19 @@ jobs: # run: | # If the size integration tests fail, report the failure to a dedicated #components-ci-size-tracking Slack channel. # yarn integration-tests:size-test || yarn ci-notify-slack-failure components-ci-size-tracking + + test: + runs-on: ubuntu-latest-4core + steps: + - name: Initialize environment + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd + with: + cache-node-modules: true + - name: Setup Bazel + uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd + - name: Setup Bazel RBE + uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd + - name: Install node modules + run: yarn install --frozen-lockfile + - name: Run tests + run: bazel test --build_tag_filters=-e2e --test_tag_filters=-e2e --build_tests_only -- src/...