Skip to content

Commit

Permalink
ci: e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielLacerda00 committed Feb 11, 2024
1 parent 9c31124 commit 88c9330
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run-e2e-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run E2E Tests

on: [pull_request]

jobs:
run-e2e-tests:
name: Run E2E tests
runs-on: ubuntu-latest

services:
api-solid-pg:
image: bitnami/postgresql
ports:
- 5432:5432
environment:
- POSTGRESQL_USERNAME=docker
- POSTGRESQL_PASSWORD=docker
- POSTGRESQL_DATABASE=apisolid

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run test:e2e
env:
JWT_SECRECT: testing
DATABASE_URL: "postgresql://docker:docker@localhost:5432/apisolid?schema=public"

0 comments on commit 88c9330

Please sign in to comment.