Skip to content

Commit

Permalink
ci: run modules and packages tests using a single bazel invocation
Browse files Browse the repository at this point in the history
Optimize Bazel build with unified module and package tests

(cherry picked from commit ac102aa)
  • Loading branch information
alan-agius4 committed Aug 23, 2024
1 parent 3ee53c9 commit e5b4c5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e5b4c5c

Please sign in to comment.