Rufe pytest und Alembic im Test-Container mit festem venv-Pfad auf.
Deploy Development / deploy (push) Successful in 22s
Test Suite / pytest-backend (push) Failing after 25s
Test Suite / smoke-dev (push) Successful in 0s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-03 11:25:26 +02:00
1 parent c9c0ff96fc
commit e59997e208
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
-e ENVIRONMENT=test \ -e ENVIRONMENT=test \
-e ENGINE_BUILD=test \ -e ENGINE_BUILD=test \
api-test \ api-test \
sh -lc 'set -e; alembic upgrade head; pytest tests -m "not slow" -ra --tb=short' /bin/sh -c '/app/.venv/bin/alembic upgrade head && /app/.venv/bin/pytest tests -m "not slow" -ra --tb=short --cache-dir=/tmp/pytest-cache'
smoke-dev: smoke-dev:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
+3 -3
View File
@@ -38,9 +38,9 @@ services:
condition: service_healthy condition: service_healthy
command: command:
[ [
"sh", "/bin/sh",
"-lc", "-c",
"alembic upgrade head && pytest tests -m 'not slow' -ra --tb=short", "/app/.venv/bin/alembic upgrade head && /app/.venv/bin/pytest tests -m 'not slow' -ra --tb=short --cache-dir=/tmp/pytest-cache",
] ]
networks: networks:
- buyingagent-test-network - buyingagent-test-network