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

Commit 33fa5a8

Browse files
authored
generate test coverage+results in a monorepo-friendly way (#1105)
1 parent 899d4dd commit 33fa5a8

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

.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
@@ -213,7 +213,7 @@ test_env.install_cli:
213213
test_env.container_prepare:
214214
apt-get update
215215
apt-get install -y git build-essential netcat-traditional
216-
git config --global --add safe.directory /worker || true
216+
git config --global --add safe.directory /apps/app/worker || true
217217

218218
test_env.container_check_db:
219219
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-
- ./:/worker
11+
- ./:/app/apps/worker
1212
- ./docker/test_codecov_config.yml:/config/codecov.yml
1313
environment:
1414
- SETUP__TIMESERIES__ENABLED=${TIMESERIES_ENABLED-true}

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-
WORKDIR /worker
10-
ADD . /worker
9+
WORKDIR /app/apps/worker
10+
ADD . /app/apps/worker
1111
RUN chmod +x worker.sh
1212
ARG RELEASE_VERSION
1313
ENV RELEASE_VERSION=$RELEASE_VERSION

0 commit comments

Comments
 (0)