Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit c4cee9e

Browse files
committed
create coverage data in monorepo-friendly way
1 parent f4f7dc8 commit c4cee9e

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.coveragerc

Lines changed: 0 additions & 2 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ test_env.install_cli:
205205

206206
test_env.container_prepare:
207207
apt-get -y install git build-essential netcat-traditional
208-
git config --global --add safe.directory /app || true
208+
git config --global --add safe.directory /app/apps/codecov-api || true
209209

210210
test_env.container_check_db:
211211
while ! nc -vz postgres 5432; do sleep 1; echo "waiting for postgres"; done

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- redis
99
- timescale
1010
volumes:
11-
- ./:/app
11+
- ./:/app/apps/codecov-api
1212
- ./docker/test.yml:/config/codecov.yml
1313
entrypoint:
1414
- ./dev.sh

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ARG BERGLAS_VERSION=2.0.6
66
FROM us-docker.pkg.dev/berglas/berglas/berglas:$BERGLAS_VERSION as berglas
77

88
FROM $REQUIREMENTS_IMAGE as app
9-
COPY . /app
10-
WORKDIR /app
9+
COPY . /app/apps/codecov-api
10+
WORKDIR /app/apps/codecov-api
1111
RUN pip install setuptools==71.1.0
1212
RUN python manage.py collectstatic --no-input
1313

0 commit comments

Comments
 (0)