test: add dev stack integration checks
api-ci-deploy / test-build-deploy (push) Has been cancelled

This commit is contained in:
2026-05-27 23:24:28 +01:00
parent 647f41e421
commit b452c9f593
6 changed files with 384 additions and 0 deletions
+20
View File
@@ -36,6 +36,26 @@ services:
- kevlarai-network
restart: unless-stopped
backend-test:
image: cc-api-dev:latest
build:
context: .
dockerfile: Dockerfile
env_file:
- .env.dev
environment:
- REDIS_HOST=redis-dev
- API_HEALTH_URL=http://192.168.0.64:18000/health
depends_on:
redis-dev:
condition: service_healthy
networks:
- kevlarai-network
entrypoint: ["python", "-m", "pytest"]
command: ["-q", "tests"]
profiles:
- test
volumes:
redis-dev-data: