diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2be2c42..87a3ae6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,9 +23,9 @@ jobs: env: POSTGRES_USER: app_user POSTGRES_PASSWORD: app_ci_password - POSTGRES_DB: app + POSTGRES_DB: app_test options: >- - --health-cmd "pg_isready -U app_user -d app" + --health-cmd "pg_isready -U app_user -d app_test" --health-interval 5s --health-timeout 5s --health-retries 10 redis: image: redis:7-alpine @@ -34,8 +34,8 @@ jobs: --health-interval 5s --health-timeout 5s --health-retries 10 env: - DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app - TEST_DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app + DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app_test + TEST_DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app_test REDIS_URL: redis://redis:6379 AAMOS_MODE: mock S3_MODE: mock