From ac102aa9c6300a7612a272c49b77a7580475391d 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 --- .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 550fe062bc02..455fee49e4ad 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@8eed650ff101cb2be3949febba829b722e89ff80 - 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 7c9e136a3c64..e8d74b4c4b2b 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@8eed650ff101cb2be3949febba829b722e89ff80 - 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: