diff --git a/Containerfile b/Containerfile index d272f3a..1dee41e 100644 --- a/Containerfile +++ b/Containerfile @@ -71,7 +71,9 @@ RUN uv sync --group tests --frozen --no-cache RUN mkdir -p /app/cov -CMD [ "sh", "-c", "coverage run --source=src -m pytest -v && coverage report > /app/cov/coverage.txt && coverage json -o /app/cov/coverage.xml && coverage html -o /app/cov/coverage.html" ] +RUN mkdir /app/cov/html + +CMD [ "sh", "-c", "coverage run --source=src -m pytest -v && coverage report > /app/cov/coverage.txt && coverage json -o /app/cov/coverage.json && coverage html -d /app/cov/html" ] # Stage 4: Migrations diff --git a/compose.yaml b/compose.yaml index 2f941f7..6f1a097 100644 --- a/compose.yaml +++ b/compose.yaml @@ -144,7 +144,7 @@ services: - type: volume source: postgres_data target: /var/lib/postgresql/data - + pgadmin: image: docker.io/dpage/pgadmin4:9 configs: @@ -185,7 +185,7 @@ services: source: pgadmin_data target: /var/lib/pgadmin read_only: false - + redis: image: docker.io/redis:8-alpine command: redis-server /usr/local/etc/redis/redis.conf