Skip to content

Commit

Permalink
updated e2e tests yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-santos committed Oct 26, 2023
1 parent b4cfc28 commit cf51438
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ jobs:
runs-on: ubuntu-latest

services:
api-gympass-db:
nest-clean-db:
image: bitnami/postgresql
ports:
- 5432:5432
env:
POSTGRESQL_USERNAME: docker
POSTGRESQL_PASSWORD: docker
POSTGRESQL_DATABASE: dockerdb

nest-clean-cache:
image: bitnami/redis
ports:
- 6379:6379

steps:
- uses: actions/checkout@v3
Expand All @@ -40,4 +45,7 @@ jobs:
AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REDIS_DB: ${{ secrets.REDIS_DB }}
REDIS_PORT: ${{ secrets.REDIS_PORT }}
REDIS_HOST: ${{ secrets.REDIS_HOST }}
DATABASE_URL: "postgresql://docker:docker@localhost:5432/dockerdb?schema=public"

0 comments on commit cf51438

Please sign in to comment.