Skip to content

Commit

Permalink
fix: don't collect coverage in nested tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prskr committed Aug 23, 2022
1 parent c7e46d7 commit 45436fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ test-unit-nested:
-w /work \
--network testcontainers-custom \
-e CGO_ENABLED=0 \
nested-sdk make test-unit
nested-sdk go run gotest.tools/gotestsum \
--format short-verbose \
--rerun-fails=5 \
--packages="./..."

.PHONY: test-e2e
test-e2e:
Expand Down
2 changes: 1 addition & 1 deletion testresources/nested.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ WORKDIR /work
COPY go.* ./

RUN go mod download -x && \
apk add -U docker-compose make \
apk add -U docker-compose

0 comments on commit 45436fa

Please sign in to comment.