Compare commits
3 Commits
8a187b45b9
...
0624795370
| Author | SHA1 | Date | |
|---|---|---|---|
| 0624795370 | |||
| e4a77fdea3 | |||
| 22e8717e0c |
@@ -121,8 +121,6 @@ jobs:
|
|||||||
POSTGRES_USER: reactbin
|
POSTGRES_USER: reactbin
|
||||||
POSTGRES_PASSWORD: reactbin
|
POSTGRES_PASSWORD: reactbin
|
||||||
POSTGRES_DB: reactbin_test
|
POSTGRES_DB: reactbin_test
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 5s
|
--health-interval 5s
|
||||||
@@ -166,8 +164,8 @@ jobs:
|
|||||||
run: uv run pytest tests/integration/ -q
|
run: uv run pytest tests/integration/ -q
|
||||||
working-directory: api
|
working-directory: api
|
||||||
env:
|
env:
|
||||||
TEST_DATABASE_URL: postgresql+asyncpg://reactbin:reactbin@localhost/reactbin_test
|
TEST_DATABASE_URL: postgresql+asyncpg://reactbin:reactbin@postgres/reactbin_test
|
||||||
DATABASE_URL: postgresql+asyncpg://reactbin:reactbin@localhost/reactbin_test
|
DATABASE_URL: postgresql+asyncpg://reactbin:reactbin@postgres/reactbin_test
|
||||||
S3_ENDPOINT_URL: http://localhost:9000
|
S3_ENDPOINT_URL: http://localhost:9000
|
||||||
S3_BUCKET_NAME: reactbin-test
|
S3_BUCKET_NAME: reactbin-test
|
||||||
S3_ACCESS_KEY_ID: minioadmin
|
S3_ACCESS_KEY_ID: minioadmin
|
||||||
@@ -180,7 +178,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Stop MinIO
|
- name: Stop MinIO
|
||||||
if: always()
|
if: always()
|
||||||
run: docker stop ci-minio && docker rm ci-minio || true
|
run: docker stop ci-minio || true && docker rm ci-minio || true
|
||||||
|
|
||||||
# ── Image builds (tag-only, gated on all jobs) ────────────────────────────────
|
# ── Image builds (tag-only, gated on all jobs) ────────────────────────────────
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ dev = [
|
|||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
target-version = "py312"
|
target-version = "py312"
|
||||||
|
exclude = ["alembic/"]
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E", "F", "I", "UP", "B", "SIM"]
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
||||||
|
|||||||
Reference in New Issue
Block a user