Skip to content

Commit 40bf589

Browse files
committed
Split unit tests
1 parent ff2ac4f commit 40bf589

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/release-feature-branch.yaml

+18-6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
- singlestore-custom
2222
- neon-http
2323
- neon-serverless
24+
- drizzle-orm
25+
- drizzle-kit
26+
- drizzle-zod
27+
- drizzle-seed
28+
- drizzle-typebox
29+
- drizzle-valibot
2430
- other
2531
runs-on: ubuntu-20.04
2632
services:
@@ -154,7 +160,10 @@ jobs:
154160
155161
planetscale)
156162
if [[ -z "$SKIP_EXTERNAL_DB_TESTS" ]]; then
157-
pnpm vitest run tests/mysql/mysql-planetscale.test.ts tests/relational/mysql.planetscale.test.ts
163+
pnpm vitest run \
164+
tests/mysql/mysql-planetscale.test.ts \
165+
tests/relational/mysql.planetscale-v1.test.ts \
166+
tests/relational/mysql.planetscale.test.ts
158167
fi
159168
;;
160169
@@ -175,7 +184,9 @@ jobs:
175184
;;
176185
177186
neon-http)
178-
pnpm vitest run tests/pg/neon-http.test.ts tests/pg/neon-http-batch.test.ts
187+
if [[ -z "$SKIP_EXTERNAL_DB_TESTS" ]]; then
188+
pnpm vitest run tests/pg/neon-http.test.ts tests/pg/neon-http-batch.test.ts
189+
fi
179190
;;
180191
181192
neon-serverless)
@@ -184,10 +195,15 @@ jobs:
184195
docker compose -f docker-neon.yml down
185196
;;
186197
198+
drizzle-orm|drizzle-kit|drizzle-zod|drizzle-seed|drizzle-typebox|drizzle-valibot)
199+
pnpm run test --filter ${{ matrix.shard }}
200+
;;
201+
187202
other)
188203
pnpm vitest run \
189204
--exclude tests/gel \
190205
--exclude tests/mysql/mysql-planetscale.test.ts \
206+
--exclude tests/relational/mysql.planetscale-v1.test.ts \
191207
--exclude tests/relational/mysql.planetscale.test.ts \
192208
--exclude tests/singlestore/singlestore.test.ts \
193209
--exclude tests/singlestore/singlestore-proxy.test.ts \
@@ -372,10 +388,6 @@ jobs:
372388
if: steps.checks.outputs.has_new_release == 'true'
373389
run: pnpm build
374390

375-
- name: Run tests
376-
if: steps.checks.outputs.has_new_release == 'true'
377-
run: pnpm test --filter ${{ matrix.package }}
378-
379391
- name: Pack
380392
if: steps.checks.outputs.has_new_release == 'true'
381393
working-directory: ${{ matrix.package }}

0 commit comments

Comments
 (0)