updated port #3
This commit is contained in:
@@ -40,6 +40,11 @@ jobs:
|
|||||||
POSTGRES_DB: test_db
|
POSTGRES_DB: test_db
|
||||||
POSTGRES_USER: test_user
|
POSTGRES_USER: test_user
|
||||||
POSTGRES_PASSWORD: test_pass
|
POSTGRES_PASSWORD: test_pass
|
||||||
|
options: >-
|
||||||
|
--health-cmd pg_isready
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 5433:5432
|
- 5433:5432
|
||||||
steps:
|
steps:
|
||||||
@@ -53,10 +58,10 @@ jobs:
|
|||||||
- run: pip install -e ".[dev]"
|
- run: pip install -e ".[dev]"
|
||||||
- run: alembic upgrade head
|
- run: alembic upgrade head
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+asyncpg://test_user:test_pass@localhost:5433/test_db
|
DATABASE_URL: postgresql+asyncpg://test_user:test_pass@127.0.0.1:5433/test_db
|
||||||
- run: pytest --tb=short
|
- run: pytest --tb=short
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+asyncpg://test_user:test_pass@localhost:5433/test_db
|
DATABASE_URL: postgresql+asyncpg://test_user:test_pass@127.0.0.1:5433/test_db
|
||||||
- run: |
|
- run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm ci
|
npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user