Skip to content

Commit

Permalink
generate test coverage+results in a monorepo-friendly way
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-codecov committed Feb 25, 2025
1 parent 74b3287 commit 25a5e8f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .coveragerc

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ test_env.install_cli:
test_env.container_prepare:
apt-get update
apt-get install -y git build-essential netcat-traditional
git config --global --add safe.directory /worker || true
git config --global --add safe.directory /apps/app/worker || true

test_env.container_check_db:
while ! nc -vz postgres 5432; do sleep 1; echo "waiting for postgres"; done
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- redis
- timescale
volumes:
- ./:/worker
- ./:/app/apps/worker
- ./docker/test_codecov_config.yml:/config/codecov.yml
environment:
- SETUP__TIMESERIES__ENABLED=${TIMESERIES_ENABLED-true}
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ARG BERGLAS_VERSION=2.0.6
FROM us-docker.pkg.dev/berglas/berglas/berglas:$BERGLAS_VERSION as berglas

FROM $REQUIREMENTS_IMAGE as app
COPY . /worker
WORKDIR /worker
COPY . /app/apps/worker
WORKDIR /app/apps/worker
RUN pip install setuptools==72.1.0
RUN chmod +x worker.sh
ARG RELEASE_VERSION
Expand Down

0 comments on commit 25a5e8f

Please sign in to comment.