Skip to content

Commit e5b4c5c

Browse files
committed
ci: run modules and packages tests using a single bazel invocation
Optimize Bazel build with unified module and package tests (cherry picked from commit ac102aa)
1 parent 3ee53c9 commit e5b4c5c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Diff for: .github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,8 @@ jobs:
6363
uses: angular/dev-infra/github-actions/bazel/configure-remote@d66f2009955fd4b3430d9cf7072d94f4b4da95e7
6464
- name: Install node modules
6565
run: yarn install --immutable
66-
- name: Run module tests
67-
run: yarn bazel test //modules/...
68-
- name: Run package tests
69-
run: yarn bazel test //packages/...
66+
- name: Run module and package tests
67+
run: yarn bazel test //modules/... //packages/...
7068

7169
e2e:
7270
strategy:

Diff for: .github/workflows/pr.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ jobs:
9797
uses: angular/dev-infra/github-actions/bazel/configure-remote@d66f2009955fd4b3430d9cf7072d94f4b4da95e7
9898
- name: Install node modules
9999
run: yarn install --immutable
100-
- name: Run module tests
101-
run: yarn bazel test //modules/...
102-
- name: Run package tests
103-
run: yarn bazel test //packages/...
100+
- name: Run module and package tests
101+
run: yarn bazel test //modules/... //packages/...
104102

105103
e2e:
106104
strategy:

0 commit comments

Comments
 (0)