diff --git a/.circleci/config.yml b/.circleci/config.yml index f13e9a5c04d5..cbae66c14285 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: @@ -471,7 +450,6 @@ workflows: filters: *publish_branches_filter requires: - build_release_packages - - tests_browsers # Snapshot tests workflow that is scheduled to run all specified jobs every hour. # This workflow runs various jobs against the Angular snapshot builds from Github. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc4590dfef3f..9c444f836048 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,3 +141,19 @@ jobs: run: yarn install --frozen-lockfile - name: Run linker JIT tests run: yarn test-linker-jit + + 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/...