Skip to content

Commit f9fe1a7

Browse files
committed
fix: test for prisma
1 parent 7aebc4b commit f9fe1a7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ jobs:
6161
env:
6262
DATABASE_URL: postgresql://keypal:keypal_dev@localhost:5432/keypal
6363

64+
- name: Generate Prisma Client
65+
run: bun run prisma:generate
66+
env:
67+
DATABASE_URL: postgresql://keypal:keypal_dev@localhost:5432/keypal
68+
69+
- name: Push Prisma schema
70+
run: bunx prisma db push --skip-generate
71+
env:
72+
DATABASE_URL: postgresql://keypal:keypal_dev@localhost:5432/keypal
73+
74+
- name: Run Prisma tests
75+
run: bun run test:prisma
76+
env:
77+
DATABASE_URL: postgresql://keypal:keypal_dev@localhost:5432/keypal
78+
6479
build:
6580
name: Build
6681
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)