From b2a4f100f9f9b7969c3071bae494b203a7d1622a Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Thu, 5 Sep 2024 14:53:02 +0100 Subject: [PATCH] feat_: wip --- integration-tests/docker-compose.test.status-go.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/integration-tests/docker-compose.test.status-go.yml b/integration-tests/docker-compose.test.status-go.yml index 680b0b05c..89c0859e5 100644 --- a/integration-tests/docker-compose.test.status-go.yml +++ b/integration-tests/docker-compose.test.status-go.yml @@ -6,7 +6,7 @@ services: args: build_tags: gowaku_no_rln build_target: statusd - build_flags: -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true" + build_flags: -cover -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true" entrypoint: ["statusd", "-c", "/static/configs/config.json", "--seed-phrase=test test test test test test test test test test test junk", "--password=Strong12345"] ports: - 3333:3333 @@ -15,6 +15,10 @@ services: interval: 5s timeout: 2s retries: 120 + environment: + GOCOVERDIR: "./coverage/integration" + volumes: + - ./coverage:./coverage/integration status-go-no-funds: build: @@ -23,7 +27,7 @@ services: args: build_tags: gowaku_no_rln build_target: statusd - build_flags: -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true" + build_flags: -cover -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true" entrypoint: ["statusd", "-c", "/static/configs/config.json", "--seed-phrase=test test test test test test test test test test test takoe", "--password=Strong12345"] ports: - 3334:3333 @@ -32,6 +36,10 @@ services: interval: 5s timeout: 2s retries: 120 + environment: + GOCOVERDIR: "./coverage/integration" + volumes: + - ./coverage:./coverage/integration tests-rpc: user: ${INTEGRATION_TESTS_DOCKER_UID}