Skip to content

Commit

Permalink
Update test.yml to set db url for all tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith authored Aug 1, 2023
1 parent 4293837 commit 4a3b0bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Run Tests

on: [push, pull_request]

env:
DATABASE_PRISMA_URL: postgres://postgres:postgres@localhost:5432/test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -45,5 +47,4 @@ jobs:

- name: Run tests
run: yarn test
env:
DATABASE_PRISMA_URL: postgres://postgres:postgres@localhost:5432/test

0 comments on commit 4a3b0bd

Please sign in to comment.