Skip to content

Commit f14b4f2

Browse files
committed
ci: run all unit tests in CI
At the moment not all tests under `//packages/`. This commit removes the matrix for `test` and always execute all tests.
1 parent ca938de commit f14b4f2

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -90,31 +90,19 @@ jobs:
9090

9191
test:
9292
runs-on: ubuntu-latest
93-
env:
94-
defaultVersion: 16
95-
strategy:
96-
matrix:
97-
version: [18]
9893
steps:
99-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
100-
with:
101-
persist-credentials: false
102-
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
94+
- name: Initialize environment
95+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@b57414124cf00fcbf1ecb190bdeb1a1396361424
10396
with:
104-
node-version: ${{ matrix.version }}
105-
cache: 'yarn'
106-
- name: Install node modules
107-
run: yarn install --frozen-lockfile
97+
fetch-depth: 1
10898
- name: Setup Bazel
10999
uses: angular/dev-infra/github-actions/bazel/setup@b57414124cf00fcbf1ecb190bdeb1a1396361424
110100
- name: Setup Bazel RBE
111101
uses: angular/dev-infra/github-actions/bazel/configure-remote@b57414124cf00fcbf1ecb190bdeb1a1396361424
112-
- if: matrix.version == env.defaultVersion
113-
name: Run tests for default node version
114-
run: yarn bazel test --test_tag_filters=-node18,-node16-broken //packages/...
115-
- if: matrix.version != env.defaultVersion
116-
name: Run tests for non-default node version
117-
run: yarn bazel test --test_tag_filters=node18,-node18-broken //packages/...
102+
- name: Install node modules
103+
run: yarn install --frozen-lockfile
104+
- name: Run tests
105+
run: yarn bazel test //packages/...
118106

119107
e2e:
120108
strategy:

0 commit comments

Comments
 (0)