Skip to content

Commit a61369a

Browse files
committed
Fix env var
1 parent 1a42a13 commit a61369a

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- singlestore-prefixed
1919
- singlestore-custom
2020
- neon-http
21+
- neon-http-batch
2122
- neon-serverless
2223
- other
2324
runs-on: ubuntu-20.04
@@ -138,7 +139,7 @@ jobs:
138139
PG_POSTGIS_CONNECTION_STRING: postgres://postgres:postgres@localhost:54322/drizzle
139140
MYSQL_CONNECTION_STRING: mysql://root:root@localhost:33306/drizzle
140141
PLANETSCALE_CONNECTION_STRING: ${{ secrets.PLANETSCALE_CONNECTION_STRING }}
141-
# NEON_CONNECTION_STRING: ${{ secrets.NEON_CONNECTION_STRING }}
142+
NEON_CONNECTION_STRING: ${{ secrets.NEON_CONNECTION_STRING }}
142143
NEON_HTTP_CONNECTION_STRING: postgres://postgres:[email protected]:5432/postgres
143144
NEON_SERVERLESS_CONNECTION_STRING: postgres://postgres:postgres@localhost:5445/postgres
144145
TIDB_CONNECTION_STRING: ${{ secrets.TIDB_CONNECTION_STRING }}
@@ -190,6 +191,12 @@ jobs:
190191
docker compose -f docker-neon.yml down
191192
;;
192193
194+
neon-http-batch)
195+
docker compose -f docker-neon.yml up -d
196+
pnpm vitest run tests/pg/neon-http-batch.test.ts
197+
docker compose -f docker-neon.yml down
198+
;;
199+
193200
neon-serverless)
194201
docker compose -f docker-neon.yml up -d
195202
pnpm vitest run tests/pg/neon-serverless.test.ts
@@ -206,6 +213,7 @@ jobs:
206213
--exclude tests/singlestore/singlestore-prefixed.test.ts \
207214
--exclude tests/singlestore/singlestore-custom.test.ts \
208215
--exclude tests/pg/neon-http.test.ts \
216+
--exclude tests/pg/neon-http-batch.test.ts \
209217
--exclude tests/pg/neon-serverless.test.ts
210218
;;
211219

integration-tests/tests/pg/neon-http-batch.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ let db: NeonHttpDatabase<typeof schema>;
3535
let client: NeonQueryFunction<false, true>;
3636

3737
beforeAll(async () => {
38-
const connectionString = process.env['NEON_CONNECTION_STRING'];
38+
const connectionString = process.env['NEON_HTTP_CONNECTION_STRING'];
3939
if (!connectionString) {
40-
throw new Error('NEON_CONNECTION_STRING is not defined');
40+
throw new Error('NEON_HTTP_CONNECTION_STRING is not defined');
4141
}
4242
client = neon(connectionString);
4343
db = drizzle(client, { schema, logger: ENABLE_LOGGING });

0 commit comments

Comments
 (0)