From e5b4c5c3f531500b6652b1b89775452e9bd507ac Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 23 Aug 2024 18:50:14 +0000 Subject: [PATCH] ci: run modules and packages tests using a single bazel invocation Optimize Bazel build with unified module and package tests (cherry picked from commit ac102aa9c6300a7612a272c49b77a7580475391d) --- .github/workflows/ci.yml | 6 ++---- .github/workflows/pr.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41d41bcbe062..6ae8b75e0b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,10 +63,8 @@ jobs: uses: angular/dev-infra/github-actions/bazel/configure-remote@d66f2009955fd4b3430d9cf7072d94f4b4da95e7 - name: Install node modules run: yarn install --immutable - - name: Run module tests - run: yarn bazel test //modules/... - - name: Run package tests - run: yarn bazel test //packages/... + - name: Run module and package tests + run: yarn bazel test //modules/... //packages/... e2e: strategy: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 84082d99f915..d488d8802ce9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -97,10 +97,8 @@ jobs: uses: angular/dev-infra/github-actions/bazel/configure-remote@d66f2009955fd4b3430d9cf7072d94f4b4da95e7 - name: Install node modules run: yarn install --immutable - - name: Run module tests - run: yarn bazel test //modules/... - - name: Run package tests - run: yarn bazel test //packages/... + - name: Run module and package tests + run: yarn bazel test //modules/... //packages/... e2e: strategy: