Skip to content

Commit

Permalink
Setup E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusSanchez committed Jan 25, 2024
1 parent 49fb680 commit 544642a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
run-e2e-tests:
name: Run E2E Tests
runs-on: ubuntu-latest
env:
DATABASE_URL: "postgresql://docker:docker@localhost:8080/orange-db?schema=public"

services:
postgres:
Expand All @@ -25,13 +23,12 @@ jobs:
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- run: pnpm install
- run: pnpm prisma generate

- run: pnpm run pretest:e2e
- run: pnpm run test:e2e


env:
DATABASE_URL: "postgresql://docker:docker@localhost:8080/orange-db?schema=public"

0 comments on commit 544642a

Please sign in to comment.