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
  • Loading branch information
alan-agius4 committed Aug 23, 2024
1 parent bcbbee3 commit ac102aa
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@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:
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@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:
Expand Down

0 comments on commit ac102aa

Please sign in to comment.